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

Refresh tab title when closing or moving tabs #11

Open
z33ky opened this issue Jul 12, 2012 · 2 comments
Open

Refresh tab title when closing or moving tabs #11

z33ky opened this issue Jul 12, 2012 · 2 comments
Assignees

Comments

@z33ky
Copy link

z33ky commented Jul 12, 2012

I have given my tabs simple numbers and turned on TAB_DYNAMIC_TITLE.
When moving or at least on closing tabs it would be nice to have the title (here just the number) updated.

Example: You open evilvte and open two more tabs, so the titles are
[1][2][3]
Then you close the second tab. The current behavior is that the titles are
[1][3]
If you open up another, you then have
[1][3][3]
Moving the first tab to the end you'd end up with
[3][3][1]

It would be nice to instead have the title of all potentially changed tabs updated after closing (as well as after moving) a tab, so that the tab numbering stays consistend.
With the previous example, after closing the second tab you'd have
[1][2]
Then adding one:
[1][2][3]
Moving the first tab to the end:
[1][2][3]

If you wish to keep the old behavior, you could perhaps introduce a new macro to allow toggling this behavior.

@ghost ghost assigned caleb- Jul 13, 2012
@caleb-
Copy link
Owner

caleb- commented Jul 13, 2012

@z33ky Got it. I think it could be supported before 0.5.2 final.
If I am not so lazy, it will be supported in next tarball release. :-)

@z33ky
Copy link
Author

z33ky commented Jul 13, 2012

That's great! Thank you.

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

No branches or pull requests

2 participants