zellij icon indicating copy to clipboard operation
zellij copied to clipboard

display tab index before tab name just like tmux

Open MicePilot opened this issue 1 year ago • 3 comments

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?

MicePilot avatar Sep 05 '24 12:09 MicePilot

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

Jimmyscene avatar Sep 17 '24 19:09 Jimmyscene

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

MicePilot avatar Sep 18 '24 06:09 MicePilot

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

vimkim avatar Sep 21 '24 05:09 vimkim

Hi. I think this issue should be revisited. Having the tab index always available by default is important for easy switching. The tab index is different from the name, and they can't replace each other. Zellij already has an intuitive interface design by default, and the index should be available by default instead of relying on a plugin. See #4179 and #3709. I'm sure other concerns have also been raised over this lack of index.

It appears that PR #4395 has fixed this issue. I would highly agree with working upon that PR.

mortang2410 avatar Oct 16 '25 21:10 mortang2410