Skip to content
Discussion options

You must be logged in to vote

This behavior is intended. Ranges in selections have a head and an achor and in select mode the anchor stays put while the head is moved. (The head is where the cursor is.)

To select "second third fourth" in this case you would want to use flip_selections (A-;) after step 2 to swap the head and anchor.

Moving around doesn't necessarily always give you a larger selection. Near the end of that section in the Kakoune docs there is a note: "capital commands tend to expand the selection." (Where capital commands in Kakoune are generally the same as select-mode in Helix.) Motions might also be used to tune existing selections in select mode: you might use h to shrink a forwards-facing selection…

Replies: 1 comment 1 reply

Comment options

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

Answer selected by yusuphgammut
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants