I know that in some IDE's I can check a box that causes the IDE to automatically strip trailing white space. Does Vim have a switch to do that or do I need to do:

autocmd BufWritePre * %s/\s*$//e

It would be nice to have a "set stripwhitespace" if that is the case but I guess that is the power of Vim.

Robert

Reply via email to