mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Fix evil-mc not whitelisting custom commands
This commit is contained in:
@ -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."
|
||||||
|
Reference in New Issue
Block a user