From 3fa827681622dc9f20d5095a781e78dbaaa23791 Mon Sep 17 00:00:00 2001 From: William Carroll Date: Mon, 10 Feb 2020 11:36:09 +0000 Subject: [PATCH] Support C-k for upward movement in ivy-switch-buffer-map Without these KBDs, C-k kills buffers. As an evil-mode user, I expect C-k to move upwards. As such, adding the `ivy-switch-buffer-map` to my existing ivy KBDs that handle a similar use-case. Note: I'm unsure why the KBDs in evil-collection didn't cover this. --- emacs/.emacs.d/wpc/wpc-ui.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emacs/.emacs.d/wpc/wpc-ui.el b/emacs/.emacs.d/wpc/wpc-ui.el index 6ac587c46..62bf77dd2 100644 --- a/emacs/.emacs.d/wpc/wpc-ui.el +++ b/emacs/.emacs.d/wpc/wpc-ui.el @@ -109,7 +109,7 @@ (setq counsel-describe-function-function #'helpful-callable) (setq counsel-describe-variable-function #'helpful-variable)) (general-define-key - :keymaps 'ivy-minibuffer-map + :keymaps '(ivy-minibuffer-map ivy-switch-buffer-map) ;; prev "C-k" #'ivy-previous-line "" #'ivy-previous-line