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

Visual mode doesn't stop after a replacement command #233

Open
mattalxndr opened this issue Dec 15, 2021 · 0 comments
Open

Visual mode doesn't stop after a replacement command #233

mattalxndr opened this issue Dec 15, 2021 · 0 comments

Comments

@mattalxndr
Copy link

mattalxndr commented Dec 15, 2021

Steps to reproduce

  1. Put this into a new buffer:

     ONE
     TWO
    
  2. Exit insert mode.

  3. Put cursor on first line (xxx).

  4. Vj to select both lines.

  5. :'<,'>s/ONE/THREE/ to replace ONE with THREE.

Expected

I am out of visual mode.

If I press u at this point, it should undo the operation, leaving me with

ONE
TWO

Actual Result

I am still in visual mode.

If I press u at this point, it runs vim-mode-plus:lower-case, which result in this:

three
two
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