How to edit file in hexadecimal mode with vi
With the vim (vi enhanced version) it is possible to edit a file in hexadecimal mode.
Edit a File and on the command line type:
:%!xxd
To return to normal edition type:
:%!xxd -r

Notes
- Tested with VIM version 7.4.1689 in Ubuntu