From 5ce26236bbf113c664bafd99746b71b86a7c9ce3 Mon Sep 17 00:00:00 2001 From: Oleh Krehel Date: Mon, 4 Apr 2016 16:59:58 +0200 Subject: [PATCH] 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 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." -- 2.39.2