mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Move evil-mc personal config to private module
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user