2008/12/3 fritzophrenic <[EMAIL PROTECTED]>: > On Dec 2, 10:58 pm, "Yongwei Wu" <[EMAIL PROTECTED]> wrote: >> 2008/12/3 fritzophrenic <[EMAIL PROTECTED]>: >> >> > For *NEW* files to default to dos format, all you'd need to do is >> > (in your vimrc) :set ffs=dos,unix,mac or :set ffs=dos,unix >> > instead of the default ffs=unix,dos. >> >> It does not work for me. :set ff=unix in _vimrc works for me, but >> only before I open a new a DOS file. It seems nothing works stably >> for new file (on Windows) to achieve your purpose. >> > > What exactly "doesn't work" about it?
Exactly as it literally means. When I have :set ffs=unix,dos in _vimrc, the empty file on opening vim, or results of :enew, still has ff=dos on Windows. I even tried putting set ffs=unix,dos in a test.vim, and started vim with gvim -u test.vim --noplugin, and the result was still the same: ff=dos. Putting in set ff=unix has effects. I really can't imagine why it works for you. I am using gvim 7.2.60 on Windows XP. Best regards, Yongwei -- Wu Yongwei URL: http://wyw.dcweb.cn/ --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
