VI as hex editor

if you just need to look into a binary file and are not happy with the ASCII version of it, try vi's hex mode.

open your file in vi and then enter this command to enable the hex edit mode:


to get back to normal ascii mode use this command:

:%!xxd -r
  • vi_as_hex_editor.txt
  • Last modified: 26.02.2015 17:04
  • by Pascal Suter