Preview: Tab Numbers That Go Beyond Nine
This is a preview of Nash 0.13.7, planned for November 13. Tab-number chips and multi-digit shortcuts make a large set of tabs easier to navigate without cycling through every intervening tab.
Reveal the Numbers When You Need Them
Numbers sit in small bordered chips at the right of each tab, before its close
button. In the bundled configuration, macOS uses on_super: hold Command alone
for 200 milliseconds to reveal them. Other platforms use always. The delay
avoids flashing numbers during ordinary shortcuts and does not delay tab
switching. These are bundled choices: the underlying reveal-delay default is 300
milliseconds.
To keep chips visible and choose their text size, merge this into
~/.config/nash/nash.toml:
[tab.index]
show = 'always'
reveal_delay_ms = 200
font_size = 11font_size is in points, not a scale factor. Without an explicit size, chip
text uses 80% of the tab-title size; oversized requests are capped to fit. Use
show = 'never' to hide chips without changing shortcuts. A successful Lua
format-tab-title handler supplies its own formatting and receives no native
number chip.
Keep Command Held for a Longer Number
With the corresponding default bindings, hold SUPER and press digits in order:
SUPER+1, then3without releasing SUPER: select tab 1, then tab 13.SUPER+1, then0: select tab 1, then tab 10.SUPER+0alone: reset font size, as before.
SUPER means Command on macOS. Every digit takes effect immediately; this is not a number-entry prompt. There is no typing timeout, and releasing SUPER starts a new number. A number beyond the available tabs selects the last tab. Numbers remain one-based even if you label the tab bar from zero.
Custom or disabled digit bindings are respected. Multi-digit entry applies only
to bare SUPER bindings that activate the corresponding tab; zero continues only
when bound to ResetFontSize. Other modifier combinations remain normal
shortcuts. An unrelated key, another modifier, focus loss, or a configuration
reload also ends the number. Backends unable to distinguish key repeats retain
single-digit behavior.
Reapply Custom Chip Settings After Upgrading
The upgrade removes [tab] keys show_index, index_reveal_delay_ms,
index_size, and index_highlight_color, after making a backup. It adds
[tab.index] with bundled values, without migrating your custom values.
Reapply them as show, reveal_delay_ms, font_size, and active_color;
convert the old size scale to a point size rather than copying it blindly.
See tab navigation and the 0.13.7 release notes for more context.