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
I have came up with this:
" php remove eol from end of file autocmd FileType php setlocal noeol binary fileformats="mac,unix,dos"
Thank you all.
Cheers.