Created
November 22, 2010 19:59
-
-
Save mattreduce/710559 to your computer and use it in GitHub Desktop.
Place this in your vimrc to remove trailing whitespace on write
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" kill trailing spaces when exiting file | |
autocmd BufWritePre * :%s/\s\+$//e |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment