You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One of the things I like about JetBrains' IDEs is the option that is most often called "Hungry backspace / delete". This consists in the fact that when we no longer have any content behind the cursor in a given line, the cursor instead of "regressing" to the first column of the empty line, jumps the line higher instead.
This is best seen on the gifs from the "Hungry Delete" extension page to VSCode below.
It would be great to have the option to enable this cursor behavior :)
If applicable, add mockups / screenshots to help present your vision of the feature
Without "hungry delete":
With "hungry delete":
The text was updated successfully, but these errors were encountered:
I think in their screen cap @widersky is attempting to visually represent a Hungry Delete operation in Zed with multiple keypresses. It is intended to be a single action.
This is the video in the Hungry Delete VSCode extension:
IMHO the breakdown of delete options (in both directions, for backspace and del) are the following:
These already exist in Zed:
single character delete that also contextually consumes one level of indentation when it is all whitespace
word delete that also contextually acts as a hungry whitespace delete up to a line break
subword delete that also contextually acts as a hungry whitespace delete up to a line break
delete all characters up to the next/previous line break.
delete a single line
Don't exist in Zed (and are reasonable):
delete up to the current indentation level
This exists in text section options as ["editor::SelectToBeginningOfLine", { "stop_at_soft_wraps": true }]
delete until you hit a non-whitespace character - e.g. a hungry whitespace delete.
single character delete.
This might exist, but I couldn't work it out.
These exist elsewhere, but are insane in a code editor:
hungry whitespace delete, and then do a word delete -- makes sense in a word processor.
hungry combined whitespace and punctuation wtaf delete, and then do a word delete.*
Check for existing issues
Describe the feature
One of the things I like about JetBrains' IDEs is the option that is most often called "Hungry backspace / delete". This consists in the fact that when we no longer have any content behind the cursor in a given line, the cursor instead of "regressing" to the first column of the empty line, jumps the line higher instead.
This is best seen on the gifs from the "Hungry Delete" extension page to VSCode below.
It would be great to have the option to enable this cursor behavior :)
If applicable, add mockups / screenshots to help present your vision of the feature
Without "hungry delete":
With "hungry delete":
The text was updated successfully, but these errors were encountered: