2012-11-16 Salman Halim: > > on Debian Linux > > > > > Different operating systems use different line endings for text files. From > :help 'ff': > > dos <CR><NL> > unix <NL> > mac <CR> > > What OS are you opening the file in?
> > on Debian Linux > Next time you open the offending file, > try ":set ff?" (without the quotes) to see what it says. unix > My Windows GVim opened the file exactly as you described: one long line. > However, by using ":e ++ff=mac" (again, no quotes) I was able to reload the > file correctly. Thanks a lot, that works. Can I automate this somehow, so that vim opens <CR> (mac) files automatically with the ff=mac setting? Marco -- 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
