Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

evil-undo (u) hides fake cursors until they are moved #122

Open
duianto opened this issue Aug 1, 2021 · 0 comments
Open

evil-undo (u) hides fake cursors until they are moved #122

duianto opened this issue Aug 1, 2021 · 0 comments

Comments

@duianto
Copy link
Contributor

duianto commented Aug 1, 2021

evil-undo (u) hides the fake cursors until they are moved,
undo (C-/) keeps them visible.

Reproduction steps

With multiple words in a buffer.

abc
abc
abc
  • In evil normal state, add evil-mc cursors on all occurrences. Press: grm
    The cursors appear at the end of the words.
ab[c]
ab[c]
ab[c]
  • Enter evil insert state: i
ab|c
ab|c
ab|c
  • Type a character: x
abx|c
abx|c
abx|c
  • Exit to evil normal state: esc
ab[x]c
ab[x]c
ab[x]c
  • Undo the typed character by pressing: u (it calls evil-undo)

Observed

ab[c]
abc
abc

The fake cursors disappeared.
The mode line still shows: emc:3

Moving the cursors left: h
Shows the fake cursors.

a[b]c
a[b]c
a[b]c

Expected

The fake cursors should remain visible.
This behavior is observed when the Emacs undo command is used:
C-/ (it calls undo)

ab[c]
ab[c]
ab[c]

System Info

evil-mc-20210730.1752
GNU Emacs 27.2 (build 1, x86_64-w64-mingw32) of 2021-03-26
Windows 21H1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant