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.
This commit is contained in:
William Carroll 2020-02-10 11:36:09 +00:00
parent 52831c7136
commit 3fa8276816

View file

@ -109,7 +109,7 @@
(setq counsel-describe-function-function #'helpful-callable) (setq counsel-describe-function-function #'helpful-callable)
(setq counsel-describe-variable-function #'helpful-variable)) (setq counsel-describe-variable-function #'helpful-variable))
(general-define-key (general-define-key
:keymaps 'ivy-minibuffer-map :keymaps '(ivy-minibuffer-map ivy-switch-buffer-map)
;; prev ;; prev
"C-k" #'ivy-previous-line "C-k" #'ivy-previous-line
"<backtab>" #'ivy-previous-line "<backtab>" #'ivy-previous-line