GreedyBackspace.vim : Make backspace eat multiple whitespace characters
| script karma
Downloaded by 1524
Comments, bugs, improvements
script versions (upload new version)
|Christian J. Robinson|
|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.)
|Source the script from your vimrc or just place it in your plugin directory.|
Click on the package to download.
ip used for rating: 184.108.40.206