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

Re: Help configuring gvim on Mac OSX

Expand Messages
  • Bram Moolenaar
    ... Your .vimrc file apparently is in DOS format. You can fix it this way: vim -u NONE ... -- We apologise again for the fault in the subtitles. Those
    Message 1 of 2 , Dec 1, 2004
    • 0 Attachment
      Unnsse wrote:

      > I need help configuring gvim for the Mac OSX platform...
      >
      > I downloaded and installed in it:
      >
      > /Developer/vim
      >
      > when I click on the shortcut on the desktop, I get this error message:
      >
      > Error detected while processing /Users/untz/.vimrc
      > line 1:
      > E488: Trailing characters: nocompatible^M
      > line 2:
      > E15: Invalid expression: $USERPROFILE^M
      > line 3:
      > E484: Can't open file /Applications/vim/Vim.app/runtime/vimrc_example.vim^M
      > line

      Your .vimrc file apparently is in DOS format.

      You can fix it this way:

      vim -u NONE
      :set nocp
      :edit .vimrc
      :set ff=unix
      :wq

      --
      We apologise again for the fault in the subtitles. Those responsible for
      sacking the people who have just been sacked have been sacked.
      "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

      /// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net \\\
      /// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
      \\\ Project leader for A-A-P -- http://www.A-A-P.org ///
      \\\ Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html ///
    Your message has been successfully submitted and would be delivered to recipients shortly.