]> code.delx.au - gnu-emacs-elpa/commitdiff
counsel.el (counsel-find-file): Bind "M-o f" to find-file-other-window
authorOleh Krehel <ohwoeowho@gmail.com>
Fri, 11 Mar 2016 11:57:00 +0000 (12:57 +0100)
committerOleh Krehel <ohwoeowho@gmail.com>
Fri, 11 Mar 2016 11:57:00 +0000 (12:57 +0100)
counsel.el

index 26ee0eb376c8b461d40a5678284aecbb57160690..899e5e0a039ae37772ad91223563731319a140c5 100644 (file)
@@ -1055,6 +1055,9 @@ done") "\n" t)))
 
 (add-to-list 'ivy-ffap-url-functions 'counsel-github-url-p)
 (add-to-list 'ivy-ffap-url-functions 'counsel-emacs-url-p)
+(ivy-set-actions
+ 'counsel-find-file
+ '(("f" find-file-other-window "other window")))
 
 (defcustom counsel-find-file-at-point nil
   "When non-nil, add file-at-point to the list of candidates."