Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show the primary selection index on statusline #12326

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rockboynton
Copy link

@rockboynton rockboynton commented Dec 23, 2024

Have the status line show the number of the current selection out of the total in the file.

Right now, the # sels shows how many selections you have in the current buffer, but this PR adds the (1-based) index of which one your primary cursor is on in the current buffer, i.e. 3/6 sels, then if you press ), it would say 4/6 sels etc.

This is very helpful when multiple selections are spread out beyond a single view to orient oneself with the current selections.

Have the status line show the number of the current selection out of
the total in the file.

Right now, the `# sels` shows how many selections you have in the current
buffer, but this shows the (1-based) index at which which one your
primary cursor is on in the current buffer, i.e. `3/6 sels`, then if you
press `)`, it would say `4/6` sels etc.

This is very helpful when multiple selections are spread out beyond
a single view to orient oneself with the current selections.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant