Remove C-j/C-k from evil-collection blacklist
And fix ESC binding by evil-collection-vterm.
This commit is contained in:
parent
1b79aa1b4d
commit
f898bbe9e1
1 changed files with 6 additions and 1 deletions
|
@ -4,10 +4,15 @@
|
||||||
|
|
||||||
;; Don't let evil-collection interfere with certain keys
|
;; Don't let evil-collection interfere with certain keys
|
||||||
(setq evil-collection-key-blacklist
|
(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-key doom-localleader-key
|
||||||
doom-leader-alt-key doom-localleader-alt-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
|
;;; Global keybindings
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue