-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
New commands shrink_line_above
and shrink_line_below
#3279
Comments
Using these to undo On the one hand I could see myself using these commands (or a
Flip the selection with
A bit of a nitpick: something cannot be inconsistent without differing from a baseline behavior. What is the current behavior inconsistent with respect to? IMO it would be inconsistent to have special handling for newlines. |
Soft undo sounds like something, that'd help in this case.
Well i see the inconsistency in e.g. that we have only one direction of doing something with newlines (namely: only extending), i see the incosistency as selections should IMO be bi-directional. But that's just my opinion. |
This is not completed. Please reopen the issue. |
Hello it would be great to have this feature and it hasn't been completed at all. Is there plan ? |
Not exactly what was asked here, but do these commands help you achieve what you want? #9080 (comment) |
@chtenb I'm a newbie and am having a hard time grokking all that, but whatever the reason was for introducing Both actions must be independent of the position of the caret, and should keeping it at the correct edge of the selection. Also, shrinking can only deselect, while moving the caret can go past the be beginning/end of the selection, making an edge of a selection the beginning of an entirely different one. |
If you're having trouble understanding how to use |
These have two different behaviors: |
I'm a bit late but even if it's not perfect, it's great, thank you ! |
I have checked whether such an issue already exists, however haven't found anything.
If it's a duplicate, i am sorry.
Describe your feature request
Basically the reversed behaviour of
extend_line_above
andextend_line_below
.The current behaviour seems rather inconsistent (having to go to visual mode and then manually unselecting. on
extend_line_above
this behaviour isn't even possible), so i that's why i have this proposal.on
shrink_line_above
, the line of the topmost selection will be unselected.on
shrink_line_below
the line of the bottommost selection wil be unselected.The text was updated successfully, but these errors were encountered: