gabesoft / evil-mc

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

cursor does not change #79

Open gdkrmr opened 6 years ago

gdkrmr commented 6 years ago

The following piece of text:

\begin{itemize}
\item item 1
\end{itemize}

1) in normal mode move the cursor to the first itemize 2) C-n to place second cursor on second itemize 3) ci} to change the environment type

everything works fine except the cosmetic issue that the cursor just does not change to the insert mode cursor.

gabesoft commented 6 years ago

There is a variable called evil-mc-enable-bar-cursor that controls whether the cursor should be change to a bar when in insert mode. That should be enabled by default though. Also, just to note that bar cursors only look good on Linux. On mac the bar is simulated with | character but that results in shifting all text to the right by one character. Myself, I only have it enabled on Linux.

gdkrmr commented 6 years ago

I am on linux and doing C-n i in the above example gives the insert mode cursors.

gabesoft commented 6 years ago

I'm not able to reproduce this. Just to be clear, so when you press i the cursor changes but not when you press ci}? What about the real cursor, does it change in both cases?

gdkrmr commented 6 years ago

yes, this is exactly the observed behavior, all cursors behave identically. I am using spacemacs on a very recent develop, maybe this makes the difference?