[Top][All Lists]

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

[elpa] master de8842e 323/399: Add ivy-switch-buffer-map to counsel-swit

From: Oleh Krehel
Subject: [elpa] master de8842e 323/399: Add ivy-switch-buffer-map to counsel-switch-buffer
Date: Sat, 20 Jul 2019 14:57:49 -0400 (EDT)

branch: master
commit de8842e44a478e590988fcddf3a296e021de4730
Author: Steven Degutis <address@hidden>
Commit: GitHub <address@hidden>

    Add ivy-switch-buffer-map to counsel-switch-buffer
    This is useful so that I can use C-c C-k to clean up my buffers (I actually 
have it rebound to just C-k in my config) within counsel-switch-buffer so I can 
use that instead of ivy-switch-buffer.
 counsel.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/counsel.el b/counsel.el
index d01bb5b..b0157d7 100644
--- a/counsel.el
+++ b/counsel.el
@@ -5285,6 +5285,7 @@ in the current window."
   (ivy-read "Switch to buffer: " 'internal-complete-buffer
             :preselect (buffer-name (other-buffer (current-buffer)))
+            :keymap ivy-switch-buffer-map
             :action #'ivy--switch-buffer-action
             :matcher #'ivy--switch-buffer-matcher
             :caller 'counsel-switch-buffer

reply via email to

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