Categories
Vim does not return a carriage return on the last line of text
Often there is a task to end a text file after editing at the end of the last line, and not end it with a new line. How to do it specifically in vim?
Answer the question
In order to leave comments, you need to log in
maybe :set binary :set noeol :w
And what's the problem then? don't go to a new line. Esc:wq
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question