--- On Mon, 16/8/10, Sven Guckes <guc...@guckes.net> wrote: > From: Sven Guckes <guc...@guckes.net> > Subject: Re: Writing files without EOL -> :set noeol > To: "vim_use" <vim_use@googlegroups.com> > Received: Monday, 16 August, 2010, 11:13 AM > * Peter Hodge <toomuchphp-...@yahoo.com> > [2010-08-16 03:08]: > > Is there a way to make vim write a file using dos > line > > endings (<CR> <NL>) but *without* the EOL > at the end? > > yes... use ":set noeol"
No, the 'eol' option is ignored unless I set 'binary' also. But if I set 'binary', the file is written as though fileformat=unix, I need it to be written with fileformat=dos. Peter -- You received this message from the "vim_use" 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