Is there a way to make vim write a file using dos line endings
(<CR>  <NL>) but *without* the EOL at the end?

Have you experimented with the 'noeol' option?

  :help 'eol'

Currently it seems vim will only let me:

A) Add newlines for no good reason

It's actually for very good reasons[1]

It's one of those "just because Vim allows you to do it, doesn't mean that it's a good idea" options. But if you're willing to deal with the consequences of ":set noeol", you're welcome to and Vim won't stop you. :)

-tim


[1]
http://stackoverflow.com/questions/729692/why-should-files-end-with-a-newline





--
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

Reply via email to