Skip to content

Instantly share code, notes, and snippets.

@denzhel
Created August 15, 2021 04:13
Show Gist options
  • Select an option

  • Save denzhel/b19ed4c84d5255c25ece77b50d588e77 to your computer and use it in GitHub Desktop.

Select an option

Save denzhel/b19ed4c84d5255c25ece77b50d588e77 to your computer and use it in GitHub Desktop.
remove new line in vim

Since I use VIM as my main IDE, alot of times I have to remove the new line that is added to files when I edit them. To do that, edit the file you are working on and type the following:

:set noendofline binary
:wq!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment