Taboo is a simple plugin that ease renaming vim tabs and customizing their appearance.
- Vim 7.2+
You can either extract the content of the folder into the $HOME/.vim
directory or use a plugin manager such as Vundle,
Pathogen or Neobundle.
NOTE: tabs look different in terminal vim than in gui versions. If you wish having terminal style tabs even in gui versions you have to add the following line to your .vimrc file
set guioptions-=eTaboo is able to remeber custom tab labels when you save the current session but you are required to set the following option in your .vimrc file
set sessionoptions+=tabpages,globalsTabooRename <name>: Renames the current tab with the name provided.TabooOpen <name>: Opens a new tab and and gives it the name provided.TabooReset: Removes the custom label associated with the current tab.
-
g:taboo_tab_format: With this option you can customize the way normal tabs (not renamed tabs) look like. Below all the available items:%f: file name%F: path relative to $HOME%a: absolute path%[n]a: custom level of path depth (e.g.%2a)%n: show tab number only on the active tab%N: show always tab number%m: modified flag%w: number of windows opened into the tab
default:
%f%mNOTE: in renamed tabs, the items
%f,%F,%aand%[n]awill be evaluated to the custom label associated to that tab. -
g:taboo_renamed_tab_format: Same asg:taboo_tab_formatbut for renamed tabs.default:
[%f]%m -
g:taboo_modified_tab_flag: This option controls how the modified flag looks like.default:
*
For other options type :help taboo.