sponsor Vim development Vim logo Vim Book Ad

vim-strip-trailing-whitespace : Removes trailing whitespace from modified lines on save

 script karma  Rating 0/0, Downloaded by 87  Comments, bugs, improvements  Vim wiki

created by
Axel Forsman
script type
Vim plugin that removes trailing whitespace

* from modified lines: Should not introduce extraneous changes into the diff, even when editing faulty files.

  For fixing up the whole file the command :StripTrailingWhitespace is provided.

* on save: Lines changing under you feet breaks any flow and is a compatibility hazard.

Achieved by maintaining a set of all edited lines with trailing whitespace, backed by a Splay tree where children store line number offsets.

Homepage: https://github.com/axelf4/vim-strip-trailing-whitespace
install details
Extract the contents of the zip file into your Vim runtime path.

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
vim-strip-trailing-whitespace.zip 1.0 2020-03-23 8.0 Axel Forsman Initial upload
ip used for rating:

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.
OSDN.net Logo