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

[Bug] ~ followed by an undo enters visual mode #196

Open
RyotaUshio opened this issue Nov 13, 2024 · 0 comments
Open

[Bug] ~ followed by an undo enters visual mode #196

RyotaUshio opened this issue Nov 13, 2024 · 0 comments

Comments

@RyotaUshio
Copy link

Steps to reproduce

  1. Go to https://raw.githack.com/replit/codemirror-vim/master/dev/web-demo.html
  2. In the normal mode, press ~ to invert the case of any character.
  3. Press mod+z to trigger CodeMirror's undo command. (do not use Vim's undo command u)

Expected result

The vim emulator stays in the normal mode, and no text is selected.

Actual result

It goes into the visual mode - in other words, the character under the cursor is selected. If you move the cursor using the arrow or hjkl keys, the selection will expand accordingly.

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