Closed matzebond closed 4 years ago
evil-mc
turns off several minor modes when the fake cursors become active. One of those is yas-minor-mode
, looks like turning that off turns autofill-mode
on. You can redefine evil-mc-incompatible-minor-modes
to remove yas-minor-mode
or add autofill-mode
to that list.
Closing this due to lack of activity feel free to reopen.
Thanks and sorry for the late response.
I added auto-fill-mode
to evil-mc-incompatible-minor-modes
like so
(advice-add 'evil-mc-define-vars :after
(lambda () (add-to-list 'evil-mc-incompatible-minor-modes 'auto-fill-mode))))
and it works :+1:
Hi, first thanks for this amazing package <3
I use evil-mc to edit latex tables. I turn
auto-fill-mode
on for every latex buffer and then manually disable it when working on tables.But when I use multiple cursors to edit a table
auto-fill-mode
is enabled again. I played with evil-mc a bit saw that every time I create a second cursor (e.g. the first time or after undoing the previous cursors)auto-fill-mode
is enabled again. It looks like the major mode hook is run after creating a second cursor.Is this known and wanted? Or is there a way to disable this?