sponsor Vim development Vim logo Vim Book Ad

StripWhiteSpaces : Strip White Space on save file

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

created by
German Frigerio
 
script type
utility
 
description
https://github.com/gagoar/StripWhiteSpaces

This plugin strip all the white spaces in your file before save it automatically
 
install details
Simple to use too: just put this files under plugin in to your vim configuration, if you are using janus, put it under ~/.janus like this:

git clone git@github.com:gagoar/StripWhiteSpaces.git
then all you need to do is restart your vim/mvim

if you need call this function before save, you can call it manually doing:

:StripWhiteSpaces
 

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
StripWhiteSpaces.zip 1.2 2014-07-10 7.0 German Frigerio disable  by demand.
new trailing line remover at the end of the file
StripWhiteSpaces.vim 1.0 2012-04-14 7.0 German Frigerio Initial upload
ip used for rating: 18.218.234.83

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.
   
Vim at Github