Skip to content

Selecting lines consistency #835

Answered by CptPotato
CptPotato asked this question in Q&A
Discussion options

You must be logged in to vote

Looking through the documentation, I saw X (uppercase) which only extends to the line bounds so it works for the case I mentioned above. Xd is a bit awkward to enter quickly, though, so I switched X and x which is a decent workaround:
Selecting a single line is fast and consistent and having to hold the Shift key for extending the selection is good enough (I usually extend multiple times in a row so I can just keep Shift pressed)

I'm still open to other thoughts and options, though.

Lastly, another inconsistency I noticed is that selecting two or more lines with <n>x always works as expected - i.e. 3x will always select three lines, even if the cursor starts on an empty line. (I actually …

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@pickfire
Comment options

Answer selected by CptPotato
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
Q&A
Labels
None yet
4 participants