I am trying to setup vim to skip adding eol on last line or eof, i have tried this
:set binary :set noeol :w
which is not perfect cause binary
From vim documentation:
'binary' 'bin' boolean (default off) local to buffer {not in Vi} This option should be set **before** editing a binary file. You can also
You should therefore use vim -b or :e ++bin file, or reload using :e! ++bin.
vim -b
:e ++bin file
:e! ++bin