Skip to content

Instantly share code, notes, and snippets.

@doyle
Created May 17, 2018 18:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save doyle/1eeafdb54cf8163d3e1e88e41cd03523 to your computer and use it in GitHub Desktop.
Save doyle/1eeafdb54cf8163d3e1e88e41cd03523 to your computer and use it in GitHub Desktop.
Shows how to remove BOM from a file using vim
vim -c "set nobomb" -c wq! foo.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment