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.
This will still detect existing files, and you will need to convert them if you created them as unix files. I actually used something similar to fix the opposite problem, as I do most editing in Windows and log into a Unix terminal to use various utilities on them, some of which require unix line endings. --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
