On Fri, 20 Dec 2013, Bohr Shaw wrote:

I have 'fileformats' set to 'unix,dos'. But I get 'dos' file format for the first buffer created when Vim starts. It seems only the 'fileformat' option is checked because I'm on Windows and 'fileformat' defaults to 'dos'.


Long ago I worked around this problem this way:

    :set fileformats=unix,dos fileformat=unix


- Christian

--
       Eagles may soar, but weasels don't get sucked into jet engines.
Christian J. Robinson <[email protected]>      http://christianrobinson.name/

--
--
You received this message from the "vim_dev" 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

--- You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Raspunde prin e-mail lui