How to visually select entire line upwards with x & v? #3775
-
In the above code block, Basically is there no simple I come from simple
And how things work with |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
You can use There is also a |
Beta Was this translation helpful? Give feedback.
-
I've found this to be intuitive. [keys.normal]
X = "select_line_above" This binds |
Beta Was this translation helpful? Give feedback.
You can use
vkX
.vk
will create a selection that includes something on lines 0 and 1 and thenX
expands the selection to be linewise.There is also a
extend_line_above
command which doesn't have a default binding that behaves likex
(extend_line_below
) but goes upwards. Plus there's a newer commandextend_line
which works likex
but extends in the direction of the selection. If you move upwards a lot then you may want to bind one of these.