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

Fix bugs with a remapped <Esc> in insert mode #4829

Merged
merged 5 commits into from May 12, 2020

Conversation

berknam
Copy link
Contributor

@berknam berknam commented May 11, 2020

What this PR does / why we need it:

- Fix DotCommand deleting extra character when used after a remapped <Esc> in insert mode
fixes VSCodeVim#4817
fixes VSCodeVim#4814

- Fix remapped <Esc> leaving trailing character when used with multiple cursors
fixes VSCodeVim#4811
@berknam berknam force-pushed the fixDotCommandRemovingChar branch from e8e25fb to d63711c Compare May 11, 2020 12:35
@berknam
Copy link
Contributor Author

berknam commented May 12, 2020

There is a bug in this PR still, I just saw it now. I'll try to fix it and make a test for it.

@berknam
Copy link
Contributor Author

berknam commented May 12, 2020

I think this is fixed now. I've also added some tests for both situations.

@J-Fields
Copy link
Member

Thanks! I made a slight edit to remove the characters all at once; I'll merge pending the tests passing.

@J-Fields J-Fields merged commit 67cde57 into VSCodeVim:master May 12, 2020
@berknam berknam deleted the fixDotCommandRemovingChar branch July 7, 2020 08:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants