GreedyBackspace.vim : Make backspace eat multiple whitespace characters
| script karma |
Rating 25/16,
Downloaded by 3001 |
Comments, bugs, improvements
|
Vim wiki
|
| created by |
| Christian J. Robinson |
| |
| script type |
| utility |
| |
| description |
This script will cause your backspace key to delete all the whitespace characters before the cursor when the cursor is on a whitespace character.
For example, if you typed "x x" and then hit backspace twice, you'd only have "x". This can be especially useful when auto/smart/c/expression indenting is on.
This script isn't very useful if you don't put "set backspace=indent,eol,start" or at least "set backsapce=indent,start" in your vimrc.
(Thanks to Tomi Mickelsson for testing and bug reports.) |
| |
| install details |
| Source the script from your vimrc or just place it in your plugin directory. |
| |
script versions (upload new version)
Click on the package to download.
ip used for rating: 216.73.216.208
|