Fix evil-mc not whitelisting custom commands
This commit is contained in:
parent
f6f335ee14
commit
5f26399ff2
1 changed files with 8 additions and 9 deletions
|
@ -295,7 +295,6 @@ the new algorithm is confusing, like in python or ruby."
|
||||||
:config
|
:config
|
||||||
(global-evil-mc-mode +1)
|
(global-evil-mc-mode +1)
|
||||||
|
|
||||||
(unless doom-init-p
|
|
||||||
;; Add custom commands to whitelisted commands
|
;; Add custom commands to whitelisted commands
|
||||||
(dolist (fn '(doom/deflate-space-maybe doom/inflate-space-maybe
|
(dolist (fn '(doom/deflate-space-maybe doom/inflate-space-maybe
|
||||||
doom/backward-to-bol-or-indent doom/forward-to-last-non-comment-or-eol
|
doom/backward-to-bol-or-indent doom/forward-to-last-non-comment-or-eol
|
||||||
|
@ -304,7 +303,7 @@ the new algorithm is confusing, like in python or ruby."
|
||||||
evil-mc-custom-known-commands))
|
evil-mc-custom-known-commands))
|
||||||
|
|
||||||
;; disable evil-escape in evil-mc; causes unwanted text on invocation
|
;; disable evil-escape in evil-mc; causes unwanted text on invocation
|
||||||
(push 'evil-escape-mode evil-mc-incompatible-minor-modes))
|
(push 'evil-escape-mode evil-mc-incompatible-minor-modes)
|
||||||
|
|
||||||
(defun +evil|escape-multiple-cursors ()
|
(defun +evil|escape-multiple-cursors ()
|
||||||
"Clear evil-mc cursors and restore state."
|
"Clear evil-mc cursors and restore state."
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue