Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

100 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

taboo.vim

Taboo is a simple plugin that ease renaming vim tabs and customizing their appearance.

Requirements

  • Vim 7.2+

Installation

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-=e

Taboo 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,globals

Commands

  • TabooRename <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.

Basic options

  • 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%m

    NOTE: in renamed tabs, the items %f, %F, %a and %[n]a will be evaluated to the custom label associated to that tab.

  • g:taboo_renamed_tab_format: Same as g:taboo_tab_format but 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.

About

Bring order to vim tabs

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages