emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master 5ce2623 223/272: counsel.el (counsel-git): Add "j" action


From: Oleh Krehel
Subject: [elpa] master 5ce2623 223/272: counsel.el (counsel-git): Add "j" action
Date: Mon, 25 Apr 2016 10:13:27 +0000

branch: master
commit 5ce26236bbf113c664bafd99746b71b86a7c9ce3
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>

    counsel.el (counsel-git): Add "j" action
    
    To open the file in other window.
---
 counsel.el |    6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/counsel.el b/counsel.el
index f4d9df6..c4f6c3c 100644
--- a/counsel.el
+++ b/counsel.el
@@ -707,6 +707,12 @@ Describe the selected candidate."
 (defvar counsel--git-dir nil
   "Store the base git directory.")
 
+(ivy-set-actions
+ 'counsel-git
+ '(("j"
+    find-file-other-window
+    "other")))
+
 ;;;###autoload
 (defun counsel-git ()
   "Find file in the current Git repository."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]