2011/2/8 Michael(Xi Zhang) <[email protected]>: > HiĀ , > > I wrote a function , it will read lines from a file, each line is a > directory, after got the line, I will add filetype filter at the end of it. > If user put some spaces at end of the line, it will cause error. > > Is there any way to remove the trailing spaces?
Something like this? :%s/\s\+$// Cheers -- Joan Miquel Torres__________________________________ Linux Registered User #164872 http://www.mallorcaweb.net/joanmiquel BULMA: http://bulma.net http://breu.bulma.net/?l2301 -- 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
