Fix evil-mc not whitelisting custom commands

This commit is contained in:
Henrik Lissner 2017-09-12 23:55:34 +02:00
parent f6f335ee14
commit 5f26399ff2
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -295,7 +295,6 @@ the new algorithm is confusing, like in python or ruby."
:config
(global-evil-mc-mode +1)
(unless doom-init-p
;; Add custom commands to whitelisted commands
(dolist (fn '(doom/deflate-space-maybe doom/inflate-space-maybe
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))
;; 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 ()
"Clear evil-mc cursors and restore state."