Skip to content

Better hints #90

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

You must be logged in to vote

:help leap.opts.safe_labels (see also smart autojump). If there's anything else to be clarified, feel free to ask.

Also, how is the priority of labels determined.

They are assigned in the same order as they appear in the table, simple as that. If you have labels = {'a', 'b', 'c'}, then the first target will get a, and so on... (for s/S, the targets are ordered by distance in the buffer, towards the end/beginning of the file, in multi-window mode, the beeline distance from the cursor).

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by Chaitanyabsprip
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
3 participants