evil-mc
evil-mc copied to clipboard
Conflicts with evil-smartparens
evil-smartparens doesn't work when using evil-mc. It could be useful to make them work together. Simple, temporary, solution is to disable evil-smartparens when working with multiple cursors. My code:
(defun disable-evil-smartparens ()
(interactive)
(evil-smartparens-mode -1))
(defun enable-evil-smartparens ()
(interactive)
(evil-smartparens-mode 1))
(advice-add 'evil-mc-resume-cursors :after #'disable-evil-smartparens)
(advice-add 'evil-mc-undo-all-cursors :after #'enable-evil-smartparens)
Thanks for reporting. Another way to disable it would be to add evil-smartparens-mode
to evil-mc-incompatible-minor-modes
. A better fix would be to implement the necessary evil-smartparens commands, similar to https://github.com/gabesoft/evil-mc/commit/35b87e89123f287b8e5a35ded41cd1b4a3182d67