Add "kill buffer" action to counsel-ibuffer

This commit is contained in:
Jeremy Dormitzer 2019-12-12 15:20:22 -05:00
parent f65125aec2
commit a5cb2b9c45

View File

@ -2927,6 +2927,13 @@ An alternative minibuffer completion framework:
("C-c p" #'counsel-yank-pop)
("C-s" #'swiper-isearch))
(defun counsel-ibuffer-kill-buffer (x)
(kill-buffer (cdr x)))
(ivy-set-actions
'counsel-ibuffer
'(("k" counsel-ibuffer-kill-buffer "kill buffer")))
(use-package ivy-hydra
:after counsel)