Home

Awesome

taboo.vim

Taboo aims to ease the way you set the vim tabline. In addition, Taboo provides fews useful utilities for renaming tabs.

Installation

Install either with 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-=e

Taboo is able to remember tab names when you save the current session but you are required to set the following option in your .vimrc file

set sessionoptions+=tabpages,globals

Commands

Basic options

g:taboo_tab_format

With this option you can customize the look of tabs. Below all the available items:

Default: " %f%m "

g:taboo_renamed_tab_format

Same as g:taboo_tab_format but for renamed tabs. In addition, you can use the following items:

NOTE: with renamed tabs the items %f and %a will be evaluated to an empty string.

Default: " [%l]%m "

g:taboo_modified_tab_flag

This option controls how the modified flag looks like.

Default: "*"

g:taboo_tabline

Turn off this option and Taboo won't generate the tabline. This may be useful if you want to do it yourself with the help of the functions TabooTabTitle(..) or TabooTabName(..).

Default: 1

g:taboo_close_tab_label

This option controls how the close button looks like.

Default: "x"

Public interface

Taboo provides a couple of public functions that may be used by third party plugins: