Tony Mechelynck 写道: > > IMHO, in Vim 7.2.040 and later, by opening it with > > :e ++ff=dos somestuff.txt
Things can be worse than that: I've seen files mixed with \r\r\n and \r\n and \n at the end of line. in which case ++ff=dos does not solve the problem. since there's extra ^M there. so I'd always recommend a single command :%s/^M//g --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
