gabesoft / evil-mc

Multiple cursors implementation for evil-mode
MIT License
387 stars 36 forks source link

evil-mc does not working perfect with paredit-mode #32

Open 0x4ec7 opened 7 years ago

0x4ec7 commented 7 years ago

Hi Gabriel,

I am using paredit-mode and evil-mc-mode at the same time, when working with multiple cursors in insert-state, backspace does not working as expected.

evil-mc-mode evil-mc-mode evil-mc-mode_|

backspace:

evil-mc-mode evil-mc-mode evil-mc-mod_|

I found that backspace is binded to paredit-backward-delete. Is there a way to fix this?

Thanks!

gabesoft commented 7 years ago

Yes, we need to add the paredit commands. Similar to how it's done here for evil-cleverparens. The commands have moved to this file though.

0x4ec7 commented 7 years ago

It turns out that I have another parenthesis package(smartparens) involved in my configuration. so I removed paredit, now it works.

In the mean time, I found that expand-region doesn't working well with emc. expand-region is a very useful package, It would be great if this package is supported. (I have a work-around now).