On 2014-07-13 12:44, Linda A. Walsh wrote: >> In fact, I don't see your problem. Just set the required options >> and be done. > > Trying to claim POSIX compliance as a justification for this > behavior is what is silly. vim was born out of a desire for more > than such. Someone is using POSIX > to justify not having it be a choice. > > That's what is silly.
Vim was born from a POSIX world and so it expects lines to end with newlines. I just tested Christian's advice and Vim readily does what you want: bash$ printf "one" > no_eol.txt bash$ echo set binary > testvimrc bash$ vim -u testvimrc no_eol.txt :0put='zero' :x bash$ xxd no_eol.txt [output that shows no trailing newline] Take Christian's advice: just put "set binary" in your vimrc and be done with it. Anything more is just trolling the list. -tim -- -- 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 --- You received this message because you are subscribed to the Google Groups "vim_use" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
