about summary refs log tree commit diff
path: root/emacs/.emacs.d
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-02-10T11·36+0000
committerWilliam Carroll <wpcarro@gmail.com>2020-02-10T11·36+0000
commit3fa827681622dc9f20d5095a781e78dbaaa23791 (patch)
treead3a11f31084339183d9fb06266112b2e02c3915 /emacs/.emacs.d
parent52831c713633efff8ab04e99a70a6d1b71eae464 (diff)
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.
Diffstat (limited to 'emacs/.emacs.d')
-rw-r--r--emacs/.emacs.d/wpc/wpc-ui.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/.emacs.d/wpc/wpc-ui.el b/emacs/.emacs.d/wpc/wpc-ui.el
index 6ac587c46567..62bf77dd2457 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
    "<backtab>" #'ivy-previous-line