notes/util/editors/vim/vim-eol.txt
Ihar Hancharenka 9685f30a41 m
2025-04-03 11:30:33 +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