mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Remove C-j/C-k from evil-collection blacklist
And fix ESC binding by evil-collection-vterm.
This commit is contained in:
@ -4,10 +4,15 @@
|
||||
|
||||
;; Don't let evil-collection interfere with certain keys
|
||||
(setq evil-collection-key-blacklist
|
||||
(list "C-j" "C-k" "gd" "gf" "K" "[" "]" "gz" "<escape>"
|
||||
(list "gd" "gf" "K" "[" "]" "gz" "<escape>"
|
||||
doom-leader-key doom-localleader-key
|
||||
doom-leader-alt-key doom-localleader-alt-key))
|
||||
|
||||
(def-advice! +default-evil-collection-disable-blacklist-a (orig-fn)
|
||||
:around #'evil-collection-vterm-toggle-send-escape ; allow binding to ESC
|
||||
(let (evil-collection-key-blacklist)
|
||||
(apply orig-fn)))
|
||||
|
||||
|
||||
;;
|
||||
;;; Global keybindings
|
||||
|
Reference in New Issue
Block a user