Move evil-mc personal config to private module
This commit is contained in:
parent
b7b9a2c2fd
commit
a5325f6a2a
2 changed files with 8 additions and 6 deletions
|
@ -307,12 +307,6 @@ the new algorithm is confusing, like in python or ruby."
|
|||
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))
|
||||
|
||||
;; if I'm in insert mode, chances are I want cursors to resume
|
||||
(add-hook! 'evil-mc-before-cursors-created
|
||||
(add-hook 'evil-insert-state-entry-hook #'evil-mc-resume-cursors nil t))
|
||||
(add-hook! 'evil-mc-after-cursors-deleted
|
||||
(remove-hook 'evil-insert-state-entry-hook #'evil-mc-resume-cursors t))
|
||||
|
||||
(defun +evil|escape-multiple-cursors ()
|
||||
"Clear evil-mc cursors and restore state."
|
||||
(when (evil-mc-has-cursors-p)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue