Loading ...
Sorry, an error occurred while loading the content.
 

Re: yet another new binary for OSX

Expand Messages
  • Benji Fisher
    ... Yes, this is what happens if you add the line ... (or some other permutation) to your vimrc file. I tried doing this in the system vimrc file, and am
    Message 1 of 3 , Apr 5, 2003
      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
    Your message has been successfully submitted and would be delivered to recipients shortly.