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 replace character (r) behavior with newline #3735

Merged
merged 1 commit into from May 7, 2019
Merged

Fix replace character (r) behavior with newline #3735

merged 1 commit into from May 7, 2019

Conversation

J-Fields
Copy link
Member

@J-Fields J-Fields commented May 7, 2019

What this PR does / why we need it:
Fixes the behavior of <count>r<enter>
The cursor now ends up at the beginning of the next line and will only ever insert one newline, regardless of count prefix.

Which issue(s) this PR fixes
Fixes #1884

Special notes for your reviewer:

The cursor now ends up at the beginning of the next line and will only ever insert one newline, regardless of count prefix.
Fixes #1884
@jpoon jpoon merged commit 490e16a into VSCodeVim:master May 7, 2019
@J-Fields J-Fields deleted the replace-newline branch May 7, 2019 18:54
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

Successfully merging this pull request may close these issues.

r command with \n does not move cursor to next line
2 participants