autocmd BufWritePre * :%s/\s\+$//e
(add-hook 'before-save-hook 'delete-trailing-whitespace)
http://blogobaggins.com/2009/03/31/waging-war-on-whitespace.html
find . -name '*.rb' | xargs perl -pi -e 's/ +$//'
autocmd BufWritePre * :%s/\s\+$//e
(add-hook 'before-save-hook 'delete-trailing-whitespace)
http://blogobaggins.com/2009/03/31/waging-war-on-whitespace.html
find . -name '*.rb' | xargs perl -pi -e 's/ +$//'