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 tab numbers with shortcut <Alt>0 #849

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jeremypw
Copy link
Collaborator

@jeremypw jeremypw commented Jan 6, 2025

Fixes #655

We can't just show tab numbers when <Alt> is pressed as this key is also used for e.g. <Alt>BackSpace>. The solution adopted is to use the unused <Alt>+number combination to optionally show the tab numbers.

The tab numbers are removed when the <Alt> key is released

It would be better to used an icon to show the numbers as that would be independent of the label and there is a suitable tabpage property, but there is no quick way to create an icon from a number (there are no builtin number icons available and we cannot use an emblem).

So the tab number is prefixed to the tab label for now.

Screenshot from 2025-01-06 20 27 58

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.

Show the number of tabs.
1 participant