Add "kill buffer" action to counsel-ibuffer
This commit is contained in:
parent
f65125aec2
commit
a5cb2b9c45
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user