From: Oleh Krehel Date: Mon, 4 Apr 2016 14:59:58 +0000 (+0200) Subject: counsel.el (counsel-git): Add "j" action X-Git-Url: https://code.delx.au/gnu-emacs-elpa/commitdiff_plain/5ce26236bbf113c664bafd99746b71b86a7c9ce3 counsel.el (counsel-git): Add "j" action To open the file in other window. --- diff --git a/counsel.el b/counsel.el index f4d9df682..c4f6c3cbb 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."