-
Notifications
You must be signed in to change notification settings - Fork 29.4k
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
Have cmd+backspace delete last sentence in markdown #36234
Comments
Seems like a duplicate of #29036 @alexandrudima Can you please take a look |
@archer884 I'm sorry for the frustration we're causing you. You touch on two distinct problems:
|
@archer884 I have pushed a fix for the second problem. Please let me know what you'd like to see changed in the behaviour of cmd+backspace and the reasons for doing such a change. |
@alexandrudima, I would prefer that you not change the behavior of cmd+backspace because I primarily use VS Code to edit code and, under those circumstances, the current behavior is preferable. If someone made an extension that changed that behavior for markdown files only, I might install it. :p |
I will change the title of the issue to better reflect what's still left. I think it can be easily implemented by an extension. |
@alexandrudima I don't want to be picky--and, like I said, just the Undo change is plenty for what was bugging me--but I thought I'd point out that the behavior I expect (probably just because I'm a programmer) is for cmd+backspace to remove the last visual line, not the last sentence. Like, when I'm editing source code, cmd+backspace deletes all the way to the left hand margin and stops. (Naturally, this is because that's where the current buffer line started, because I have word wrap turned off when editing code.) For this reason, the behavior turns surprising all of a sudden when I have word wrap on and an entire "paragraph" disappears instead of a line. This is admittedly because usually I have word wrap off and, as a result, I have a poor mental model for what cmd+backspace actually does, but, yeah... ...Anyway, having it delete the last "sentence" would be just as surprising is all I'm saying. (In my work, at least, sentences are usually pretty long. :p) |
Ok, I see. Then let's close this issue. |
(6 theme extensions excluded)
Steps to Reproduce:
Reproduces without extensions: Yes
The text was updated successfully, but these errors were encountered: