Skip to content

Shift X to reduce selection to the line above #6943

Answered by tqwewe
tqwewe asked this question in Ideas
Discussion options

You must be logged in to vote

There seems to already be a command for extending a line up.

All I had to do was add this to my config:

[keys.normal]
X = ["extend_line_up", "extend_to_line_bounds"]
A-x = "extend_to_line_bounds"

[keys.select]
X = ["extend_line_up", "extend_to_line_bounds"]
A-x = "extend_to_line_bounds"

The Alt x keybindings are there so I still have access to the old Shift x command.
Though this removes the shrink_line_bounds bindings, which I honestly have never understood what its for and how it works.

Replies: 6 comments 9 replies

Comment options

You must be logged in to vote
2 replies
@tqwewe
Comment options

@tqwewe
Comment options

Comment options

You must be logged in to vote
2 replies
@tqwewe
Comment options

@gabydd
Comment options

Comment options

You must be logged in to vote
5 replies
@gabydd
Comment options

@tqwewe
Comment options

@michaeljones
Comment options

@tqwewe
Comment options

@KaaiH
Comment options

Answer selected by tqwewe
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
A-keymap Area: Keymap and keybindings
8 participants
Converted from issue

This discussion was converted from issue #6940 on May 02, 2023 13:31.