Remove BOM from UTF8 file in vim

The UTF-8 BOM (Byte Order Mark) is a sequence of bytes (EF BB BF) that allows the reader to identify a file as being encoded in UTF-8.

To remove BOM in vim, do :set nobomb

To add BOM - :set bomb