This will collapse multiple blank lines,
remove trailing white space, and
leave only one blank line at the end of file.

%s-\_s\+$-\r

Bill

-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to