Edit binaries with vim

Date: 2020-02-04T19:21:24+01:00

It is possible to edit binary files with vim. For this, you open the file with the option -b and run internal :%!xxd. This will convert the current file into a hexdump that can be edited. Once you completed your change you can use the :%!xxd -r to convert it back.

Sources: - vim - Display file in binary format - Stack Overflow - Hex dump | Vim Tips Wiki | Fandom