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

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

[elpa] master 30adc93 115/184: Add actions to counsel-switch-buffer


From: Oleh Krehel
Subject: [elpa] master 30adc93 115/184: Add actions to counsel-switch-buffer
Date: Wed, 16 Oct 2019 13:15:02 -0400 (EDT)

branch: master
commit 30adc93d5a7745463bb1f3c6905aead59e5f6be9
Author: Roey Darwish Dror <address@hidden>
Commit: Oleh Krehel <address@hidden>

    Add actions to counsel-switch-buffer
    
    Fixes #2233
---
 counsel.el | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/counsel.el b/counsel.el
index 67ff54f..c8567cc 100644
--- a/counsel.el
+++ b/counsel.el
@@ -5504,6 +5504,11 @@ in the current window."
  'ivy-switch-buffer
  '(("x" counsel-open-buffer-file-externally "open externally")))
 
+(ivy-set-actions
+ 'counsel-switch-buffer
+ '(("x" counsel-open-buffer-file-externally "open externally")
+   ("j" ivy--switch-buffer-other-window-action "other window")))
+
 ;;** `counsel-compile'
 (defvar counsel-compile-history nil
   "History for `counsel-compile'.



reply via email to

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