sponsor Vim development Vim logo Vim Book Ad

TableTab.vim : global plugin for variable-width tab stops

 script karma  Rating 17/8, Downloaded by 1274  Comments, bugs, improvements  Vim wiki

created by
Pavol Juhas
 
script type
utility
 
description
When active, TableTab.vim remaps the <Tab> key in insert mode, to
the function, which adjusts the tab stops according to the previous
line.  If this line matches /^\s*[_=*\-]\+ *$/  (it is only of ===,
--- etc.) the line before is checked.

Should be useful for editing tables.
 
install details
Just drop TableTab.vim into your plugin directory or source it from your vimrc.
After sourcing, <Leader><Tab> will toggle between tab stops
lookup and a normal function of the <Tab> key.
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
TableTab.vim 0.1 2001-11-04 6.0 Pavol Juhas Initial upload
ip used for rating: 216.73.216.130

Questions about Vim should go to the maillist. Help Uganda.     Vim at Github