[prev in list] [next in list] [prev in thread] [next in thread] 

List:       vim-mac
Subject:    Re: yet another new binary for OSX
From:       Benji Fisher <benji () member ! AMS ! org>
Date:       2003-04-05 19:38:05
[Download RAW message or body]

Florent Pillet wrote:
>> it is set to "mac".  If 'nocompatible' is later set (e.g., because Vim 
>> finds a user vimrc file) then, since this option has already been 
>> modified, it never gets set to its vim default of "unix,dos".  I 
>> should'a known better!
> 
> 
> Would there be a way for VIM to check the file on open and adjust the 
> file format on the fly? It is a pain when you are working with files in 
> various formats...

      Yes, this is what happens if you add the line

:set ffs=unix,dos,mac

(or some other permutation) to your vimrc file.  I tried doing this in the 
system vimrc file, and am still not sure why it did not work....

:help 'ffs'

HTH					--Benji Fisher


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic