zellij-org / zellij

A terminal workspace with batteries included
https://zellij.dev
MIT License
21.99k stars 669 forks source link

display tab index before tab name just like tmux #3591

Open MicePilot opened 2 months ago

MicePilot commented 2 months ago

I use Alt + Number shortcut keys to quickly switch between TAB. When there are many TAB and modified the TAB name, it is difficult to quickly judge the current of a TAB, which makes the use of shortcut keys not convenient. So can you support the Tab Index before TAB NAME?

Jimmyscene commented 2 months ago

I'll let the authors speak to their intentions when they can, but in the meantime, the zjstatus plugin allows you to specify a format for each of the tabs, with one of the options being "{index}", which is the value you're looking for

https://github.com/dj95/zjstatus/wiki/4-%E2%80%90-Widgets#tabs

MicePilot commented 2 months ago

I'll let the authors speak to their intentions when they can, but in the meantime, the zjstatus plugin allows you to specify a format for each of the tabs, with one of the options being "{index}", which is the value you're looking for

https://github.com/dj95/zjstatus/wiki/4-%E2%80%90-Widgets#tabs

Thank you very much, this perfectly solves my problem

vimkim commented 2 months ago

Thank you so much both of you for bringing up and solving this question