Skip to content

How do I select the last character on a line? #113

Answered by ggandor
knpwrs asked this question in Q&A
Discussion options

You must be logged in to vote

It looks like I should press s, but there's another s highlighted before the final s

The first s is a shortcut, the second is not, it's a normal label (note the different highlight), so you should enter the second character of the match, even though the label is already visible. You might find this video helpful, if the usage is not 100% clear from the readme.

To answer the specific question: {char}<enter> to the rescue (https://github.com/ggandor/lightspeed.nvim#matching-line-breaks-linewise-motions). The ¬ character before the label indicates that you should press enter as the second char to reach that match.

Replies: 1 comment 1 reply

Comment options

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

Answer selected by knpwrs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #112 on December 21, 2021 14:57.