abougouffa / minemacs

MinEmacs: an Emacs configuration framework for daily use
https://abougouffa.github.io/minemacs/
MIT License
143 stars 16 forks source link

about me-multi-cursors #57

Closed donneyluck closed 1 year ago

donneyluck commented 1 year ago

hello @abougouffa This file contains some multi-cursor packages After my test evil-multiedit is my favorite but there is a small problem When multiple regions are selected ' kj ' Cannot deselect region evil-escape work well but can`t do evil-multiedit-abort I don't know how to fix it please help me

abougouffa commented 1 year ago

Yes, I'm aware of this issue. I've tried before to fix it, but I didn't manage to.

The evil-escape package supports evil-multiedit as you can see in it source code.

However, it seems that evil-multiedit do not manage the evil-state correctly. For example, when pressing g z e m to mark all matches (evil-multiedit-match-all), when you position the cursor on one of the occurrences and M-: then evaluate evil-state, it will show normal instead of multiedit. So, with this behavior of evil-multiedit, the evil-escape-func won't work as predicted.

donneyluck commented 1 year ago

I tried to fix him via chatgpt but failed I'll go back to evil-multiedit and ask