TabIndent : Overload the <Tab> key to either insert a tab, or indent the current line
script karma |
Rating 32/18,
Downloaded by 1854 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Andre Pang |
|
script type |
utility |
|
description |
The TabIndent plugin allows you use the <Tab> key in Insert mode to indent the current line, as well as retain its usual task of inserting a real <Tab> character. TabIndent exhibits a bit of intelligence by making sure that the current line is only indented if you're editing source code, by checking the 'cindent' and 'indentexpr' options. Editing text files will never cause the <Tab> key to perform indentation.
You can also change the behaviour of when indentation is performed; some people prefer <Tab> to always perform indentation, and others may want to indent only if the cursor is at the start of the line. TabIndent is designed to make every user work the way they want to. |
|
install details |
Standard Vim plugin. Unzip file, place tab-indent.vim file in your plugin directory, place tab-indent.txt file in your doc directory. Have fun! |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 18.217.200.151
|