Register doom/newline-and-indent with evil-mc

This commit is contained in:
Henrik Lissner 2017-05-27 13:28:14 +02:00
parent 787d188d61
commit 4ea176d04d

View file

@ -343,7 +343,7 @@ the new algorithm is confusing, like in python or ruby."
;; 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
doom/backward-kill-to-bol-and-indent)) doom/backward-kill-to-bol-and-indent doom/newline-and-indent))
(push (cons fn '((:default . evil-mc-execute-default-call))) evil-mc-custom-known-commands)) (push (cons fn '((:default . evil-mc-execute-default-call))) evil-mc-custom-known-commands))
;; if I'm in insert mode, chances are I want cursors to resume ;; if I'm in insert mode, chances are I want cursors to resume