Trailer Trash : Highlight trailing white space
script karma |
Rating 22/8,
Downloaded by 1843 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Christopher Sexton |
|
script type |
syntax |
|
description |
Highlight and eradicate whitespace at the end of the line in Vim.
This plugin will highlight trailing whitespace at the end of the line. This is done in a polite way:
* You are not currently editing that line (prevents highlighting it as you type)
* You are not in insert mode
It also introduces a :Trim command that will strip all the trailing white space from a file (or range). This is done in a polite way:
* Places the cursor back where is started
* Resets the search highlight back to what it was
TrailerTrash defines `a :Trailer` command to stop showing unwanted whitespace, for those projects where you don't want to start fighting it.
As always, Trailer Trash is polite.
The source is on github here: https://github.com/csexton/trailertrash.vim |
|
install details |
Copy trailertrash.vim to VIM_HOME/plugins/ or use pathogen. |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 142.132.191.50
|