zefei / vim-wintabs

Modern buffer manager for Vim
MIT License
325 stars 25 forks source link

Vim tab names and separators #7

Closed echuraev closed 7 years ago

echuraev commented 7 years ago

Implemented getting name of vim tabs. Added an option to chose how Vim tabs will be displayed. Added two options to set separator for active Vim tab.

echuraev commented 7 years ago

@zefei Could you please review it and merge?

echuraev commented 7 years ago

I fixed all comments. And added one more value for g:wintabs_ui_show_vimtab_name and one more option g:wintabs_ui_vimtab_separator. You can see how it works on attached screenshots.

P.S. I don't know why but tab highlighting isn't working on my machine. With version from master it doesn't work too. So, I'm using g:wintabs_ui_active_left for highlighting current tab.

Default values: vim_win_defaults

Set g:wintabs_ui_active_vimtab_left and g:wintabs_ui_active_vimtab_right: vim_win_active_vim_tabs

Set g:wintabs_ui_show_vimtab_name = 1: vim_win_show_wintab_name1

Set g:wintabs_ui_show_vimtab_name = 2: vim_win_show_wintab_name2

Set custom separator: vim_win_show_wintab_custom_sep

zefei commented 7 years ago

Thank you for the PR!