-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
How to change the format of tab #1418
Comments
and the problem is what? |
I want to use Unicode icon instead of 1.1 |
where are your unicode symbols from the first screenshot coming from? |
It is setting by let g:airline#extensions#tabline#buffer_idx_mode = 1
let g:airline#extensions#tabline#buffer_idx_format = {}
for s:i in range(9)
call extend(g:airline#extensions#tabline#buffer_idx_format,
\ {s:i : SpaceVim#api#import('messletters').bubble_num(s:i,
\ g:spacevim_buffer_index_type). ' '})
endfor
unlet s:i in https://github.com/SpaceVim/SpaceVim/blob/drawing/config/plugins/vim-airline.vim |
that link does not resolv. Can you update it please? |
You can use a custom formatter when the tabline is displayed for several tabs. You need to set the variable airline#extensions#tabline#formatter to your version and need to create that formatter of course. |
I hav set it to spacevim . but when severls tab is open , the formatter only change the buffer name (tab name) but the tab number and number of splits can not be changed it is still |
@chrisbra but what I want is the whold tab name, include |
the |
okay, will look at it again. |
here is my airline config
let g:airline#extensions#tabline#show_tab_nr = 1
let g:airline#extensions#tabline#tab_nr_type= 2
let g:airline#extensions#tabline#show_tab_type = 1
if there is only one tab, tabline looks nice.
but if I run
:tabnew
I see
I know it is tab_nr . splits format,
but I hope airline support custom format func just like
g:airline#extensions#tabline#formatter
The text was updated successfully, but these errors were encountered: