vartabs.vim : Make your TAB-Key stop at arbitrary positions
| script karma
Downloaded by 871
Comments, bugs, improvements
script versions (upload new version)
|The usual <TAB> stops at any 'shiftwidth' position.
Sometimes (eg. when programming in RPG or /370-ASM) it is useful to have arbitrary positions (eg. for /370-ASM they are 10,16,71).
This script will give you this feature depending on the filetype.
|1) Copy VARTABS.VIM into your plugin-directory
2) Add in the approbiate filetype-plugin the following line (numbers must be ascending!):
:call VarTab_SetStops([10,16,71]) means: <TAB> will now stop on column 10, 16, 71, <S-TAB> will do in reverse direction.
Click on the package to download.
ip used for rating: 22.214.171.124
||Now allows Lists as argument in VarTab_SetStops (eg.: :call VarTab_SetStops[10,16,72])
Old String-argument furthermore supported for backwards-compatibility.
Internal logic completely switched to Lists.