-
Notifications
You must be signed in to change notification settings - Fork 305
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
#1750 - Using 'd0' to delete to start of the current logical line in a multiline buffer #2002
Conversation
@springcomp Sorry for being sluggish. The changes make perfect sense, but it raises more inconsistency to the function names that are responsible for deleting texts from the input. For examples, after the change,
I know there are already inconsistency existing, such as For this PR, can we maybe bring consistency to
What do you think? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mostly look good to me. Some briefDescription
are not right in KeyBindings
.
🎉 |
PR Summary
Fixed #1750.
This PR changes the behaviour of the
BackwardDeleteLine
method to delete characters up to the start of the current logical line, instead of up to the start of the buffer. This makes it more consistent with other changes inVi
mode related to multiline buffers.I’m concerned this may have an impact on
Windows
mode but could not see regression test failures. So I’m not sure this scenario is covered. In any case, I have created a new methodBackwardDeleteInput
for this purpose and would be happy to update documentation accordingly.PR Checklist
Microsoft Reviewers: Open in CodeFlow