On Sunday 30 November 2008, Mike Hoy wrote:
> In my .vimrc file I have:
>
> set ff=dos
>
> and it doesn't format my files for dos. I have to type it out before
> saving it. Any way to automate this? My instructor only uses notepad
> to view code and I'm on GNU/Linux. I'd like to be able to just use vim
> and it automatically saves it in dos format.

Mike,

If you need it, there is a script to convert between dos/unix/mac EOLs 
here: www.noels-lab.com/crlf.html.

I know it's not the same, but it might help.

Noel

-- 

------------------------------------------------------------------
  Noel Henson
  www.noels-lab.com     Chips, firmware and embedded systems
  www.vimoutliner.org   Work fast. Think well.


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

Reply via email to