notes/os/editors/vim/vim-eol.txt
Ihar Hancharenka 5dff80e88e first
2023-03-27 16:52:17 +03:00

21 строка
320 B
Plaintext

http://stackoverflow.com/questions/1050640/vim-disable-automatic-newline-at-end-of-file
even if the file was already saved with new lines at the end:
vim -b file and once in vim:
:set noeol
:wq
done.
alternatively you can open files in vim with :e ++bin file
Yet another alternative:
:set binary
:set noeol
:wq