On Tuesday, July 17, 2012 7:27:42 PM UTC-5, Bee wrote: > 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
But this one fails to collapse the blank lines at the *beginning* of the file! I don't see what's special about the beginning of the file which would prevent it from matching. I don't know whether this is a bug, or if we all have a subtle misunderstanding of \_s. -- 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
