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 Request] Customizable "tab" label (different from "tabs") #2657

Open
JJCUBER opened this issue Dec 7, 2023 · 1 comment
Open

[Feature Request] Customizable "tab" label (different from "tabs") #2657

JJCUBER opened this issue Dec 7, 2023 · 1 comment

Comments

@JJCUBER
Copy link

JJCUBER commented Dec 7, 2023

I have noticed that in the tabline.vim file, the part of the tabline which shows which tab you are on out of the total (i.e. "tab 2/7") is hardcoded to say "tab":

    call a:dict.add_section_spaced('airline_tabmod', printf('%s %d/%d', "tab", tabpagenr(), tabpagenr('$')))

I was originally hoping that g:airline#extensions#tabline#tabs_label would also affect this; would it be possible to add a setting to the tune of g:airline#extensions#tabline#tab_label which affects the hardcoded portion?

@chrisbra
Copy link
Member

sure, please go ahead and create a PR for this.

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