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

[Feature] Automatic tab renaming #1311

Open
Lillecarl opened this issue Apr 11, 2022 · 1 comment · May be fixed by #1784
Open

[Feature] Automatic tab renaming #1311

Lillecarl opened this issue Apr 11, 2022 · 1 comment · May be fixed by #1784
Labels
discussion Conversation to figure out actionable steps. Most feature ideas start here. suspected bug

Comments

@Lillecarl
Copy link

Basic information

zellij --version: zellij 0.25.0 (Realized I'm 2 versions behind, time to update my flakes 😄 )
tput lines: 43
tput cols: 176
uname -av or ver(Windows): Darwin hostname.local 21.4.0 Darwin Kernel Version 21.4.0: Fri Mar 18 00:45:05 PDT 2022; root:xnu-8020.101.4~15/RELEASE_X86_64 x86_64

List of programs you interact with as, PROGRAM --version: output cropped meaningful, for example:
iterm2 version: Build 3.4.15

Further information
If I open a bunch of tabs and leave them with their default naming then close the first one, the new tab 1 will be named Tab #2 which doesn't matter so much for the first one, but if you have 5-6 tabs open it adds a bit of overhead when you're switching around.

I'd like to suggest something that auto resolves this by renaming tabs upon closing. At least if their name is following the default pattern. (I never name my tabs).

Another solution could be to decouple the indexing and the name, if the name should be before or after the configured name would probably be a heated discussion though (configureable maybe?)

I've been reading through the source-code but I can't seem to find where this would be. I'm not rust-native either so for now I'll leave it as a feature request.

As always, great job guys! Been daily-driving Zellij since 0.19 or 0.20 :)

@jaeheonji jaeheonji added the discussion Conversation to figure out actionable steps. Most feature ideas start here. label Apr 12, 2022
@cole-h cole-h linked a pull request Oct 8, 2022 that will close this issue
@cole-h
Copy link

cole-h commented Oct 8, 2022

I've taken a (very naive) stab at this in #1784. If you're so inclined, please give it a shot and let me know what you think.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion Conversation to figure out actionable steps. Most feature ideas start here. suspected bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants