Mike Hoy wrote:
> In my .vimrc file I have:
> set ff=dos
> and it doesn't format my files for dos.

The following tip is a bit of a mess, but there is some useful info that might
assist:
http://vim.wikia.com/wiki/Change_end-of-line_format_for_dos-mac-unix

I think the problem is that Vim tries to retain the fileformat (line ending) 
that it
finds when reading the file. The command 'set ff=dos' is talking about the 
current
buffer, not files that you open in the future.

An autocmd that sets ff for all files in a certain directory might suit, or you
could have a script that you run to prepare files before sending.

John


--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to