[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master 3a7c8cd 189/348: counsel.el (counsel-recentf): add extra a
From: |
Oleh Krehel |
Subject: |
[elpa] master 3a7c8cd 189/348: counsel.el (counsel-recentf): add extra actions |
Date: |
Sat, 8 Apr 2017 11:03:53 -0400 (EDT) |
branch: master
commit 3a7c8cdf0a386577b25b5ba4c387d39366d1552a
Author: Zak B. Elep <address@hidden>
Commit: Zak B. Elep <address@hidden>
counsel.el (counsel-recentf): add extra actions
Let `counsel-recentf` be able to open recent files into another window,
or even via an external application.
---
counsel.el | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/counsel.el b/counsel.el
index d11f8d1..8404f24 100644
--- a/counsel.el
+++ b/counsel.el
@@ -1411,8 +1411,12 @@ When INITIAL-INPUT is non-nil, use it in the minibuffer
during completion."
(ivy-read "Recentf: " recentf-list
:action (lambda (f)
(with-ivy-window
- (find-file f)))
+ (find-file f)))
:caller 'counsel-recentf))
+(ivy-set-actions
+ 'counsel-recentf
+ '(("j" find-file-other-window "other-window")
+ ("x" counsel-find-file-extern "open externally")))
;;** `counsel-locate'
(defcustom counsel-locate-cmd (cond ((eq system-type 'darwin)
- [elpa] master b73264e 163/348: counsel.el (counsel-git-log-cmd): New defvar, (continued)
- [elpa] master b73264e 163/348: counsel.el (counsel-git-log-cmd): New defvar, Oleh Krehel, 2017/04/08
- [elpa] master 7457d1e 169/348: Add leading zeros to the hex representation to counsel-unicode-char, Oleh Krehel, 2017/04/08
- [elpa] master 8983f9d 167/348: counsel.el (counsel-recentf): Turn on recentf, Oleh Krehel, 2017/04/08
- [elpa] master 6961df6 166/348: doc/ivy.org: Replace swiper with counsel (MELPA), Oleh Krehel, 2017/04/08
- [elpa] master 3656dfe 171/348: ivy.el (ivy-exit-with-action): Remove with-ivy-window, Oleh Krehel, 2017/04/08
- [elpa] master 4c3ecb4 157/348: Restore window position after using swiper., Oleh Krehel, 2017/04/08
- [elpa] master 94f3368 160/348: Extract ivy--flx-propertize from ivy--flx-sort, Oleh Krehel, 2017/04/08
- [elpa] master 6b574e4 173/348: ivy.el (ivy-call): expand-file-name, Oleh Krehel, 2017/04/08
- [elpa] master 93f9321 174/348: ivy.el: Fix byte compiler warnings, Oleh Krehel, 2017/04/08
- [elpa] master 2a9c3f3 191/348: swiper.el (swiper-multi): Don't use virtual buffers, Oleh Krehel, 2017/04/08
- [elpa] master 3a7c8cd 189/348: counsel.el (counsel-recentf): add extra actions,
Oleh Krehel <=
- [elpa] master 955585e 190/348: counsel.el (counsel-describe-face): Ensure :preselect string, Oleh Krehel, 2017/04/08
- [elpa] master 3c904fa 192/348: counsel.el (counsel-git-grep-occur): Fix "g", Oleh Krehel, 2017/04/08
- [elpa] master 77ebfdb 196/348: Makefile: load ivy-overlay.el, Oleh Krehel, 2017/04/08
- [elpa] master f357cd2 198/348: ivy-overlay.el (ivy-overlay-cleanup): Restore cursor-type, Oleh Krehel, 2017/04/08
- [elpa] master f8d78eb 197/348: Add a fake cursor to inline completion display, Oleh Krehel, 2017/04/08
- [elpa] master 1bdc50b 200/348: ivy-overlay.el (ivy-overlay-cleanup): Don't trigger company, Oleh Krehel, 2017/04/08
- [elpa] master bfddbc2 199/348: ivy-overlay.el (ivy-display-function-overlay): Fix up, Oleh Krehel, 2017/04/08
- [elpa] master d1de20f 193/348: Display completion-at-point at point, Oleh Krehel, 2017/04/08
- [elpa] master 8109655 204/348: ivy-overlay.el (ivy-display-function-overlay): Fix with-ivy-window, Oleh Krehel, 2017/04/08
- [elpa] master 572c2aa 206/348: Enable read-only-mode for ivy-occur, Oleh Krehel, 2017/04/08