On Friday, November 16, 2012 5:09:19 PM UTC+1, Marco wrote:
> 2012-11-16 Ben Fritz:
> 
> 
> 
> > On Friday, November 16, 2012 9:55:10 AM UTC-6, Marco wrote:
> 
> > > 
> 
> > > > 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?
> 
> > > 
> 
> > 
> 
> > :help 'fileformats' (note the s at the end).
> 
> 
> 
> Thanks
> 
> 
> 
>   set fileformats=unix,dos,mac
> 
> 
> 
> did the trick.
> 
Is there any reason why this is not the default on unix?

Jeroen

-- 
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