gabesoft / evil-mc

Multiple cursors implementation for evil-mode
MIT License
383 stars 35 forks source link

Misaligned cursors in insert mode #49

Closed AndreaOrru closed 7 years ago

AndreaOrru commented 7 years ago

Spawning some cursors in normal mode using C-n:

1

All good for now.

But when entering insert mode:

2

Any idea of what's going on? It looks like the "fake bar" that should act as cursor is taking up an entire character's space.

gabesoft commented 7 years ago

When running emacs in terminal this is the expected behavior. When running the gui version of emacs this should not happen.

AndreaOrru commented 7 years ago

I'm running this the GUI version for OSX.

gabesoft commented 7 years ago

Actually, I'm able to reproduce this as well on OSX. In Linux it looks fine but not on MAC. Not sure what the problem is though. I'll try to look into it when I get a chance.

gabesoft commented 7 years ago

Just pushed a commit 70f6c3a5cff758dc8c9ab5d896e0e812dfc4a703 that adds a variable named evil-mc-enable-bar-cursor that you can use to turn off the bar cursors. It defaults to t but you can set it to nil to get the default cursor face for the fake cursors.

gabesoft commented 7 years ago

I'm going to close this as I think that the evil-mc-enable-bar-cursor setting solves the problem.

AndreaOrru commented 7 years ago

That's good enough I guess. Thanks!