sponsor Vim development Vim logo Vim Book Ad

trailing-whitespace : Highlights trailing whitespace in red and offers:FixWhitespace

 script karma  Rating 59/26, Downloaded by 1006    Comments, bugs, improvements  Vim wiki

created by
Scott Bronson
 
script type
utility
 
description
This plugin causes all trailing whitespace to be highlighted in red.

To fix the whitespace errors, just call :FixWhitespace.  By default it
operates on the entire file.  Pass a range (or use V to select some lines)
to restrict the portion of the file that gets fixed.

The repo is at http://github.com/bronson/vim-trailing-whitespace

Based on http://vim.wikia.com/wiki/Highlight_unwanted_spaces
 
install details
Install trailing-whitespace.vim in ~/.vim/plugin and trailing-whitespace.txt in ~/.vim/doc.
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
trailing-whitespace-1.0.tar.gz 1.0 2010-09-16 6.0 Scott Bronson Don't modify the cursor position or search highlight when fixing whitespace.
trailing-whitespace.tar.gz 0.1 2010-08-15 6.0 Scott Bronson Initial upload
ip used for rating: 54.167.185.110

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
SourceForge.net Logo