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

52655Bug with 'fileformats' option and :enew

Expand Messages
  • Ben Fritz
    Dec 5, 2008
    • 0 Attachment
      See http://groups.google.com/group/vim_use/browse_thread/thread/d19be706567e5743

      :help :enew and :help :new say:

      "If 'fileformats' is not empty, the first format given will be used
      for the new buffer."

      But, on Windows, with 'fileformats' set to unix,dos, doing :enew gives
      ff=dos. Additionally, the first buffer loaded when Vim is launched
      with no arguments has ff=dos even if ffs is set to unix,dos in the
      _vimrc (which is rather unexpected but not necessarily a bug).

      :new and :tabnew work as indicated (i.e. they give ff=unix).
      You received this message from the "vim_dev" maillist.
      For more information, visit http://www.vim.org/maillist.php
    • Show all 2 messages in this topic