- My plugin does not automatically convert binary buffers to hexadecimal
- Saving hexadecimal buffer does not change anything on the disk
- Create/open the file you want to edit (binary mode is recommended)
- Split the window or set
bufhidden=hide
or sethidden=on
to prevent buffer unloading (important!) - Run
:ToHexBuffer
command - Make the changes in the hexadecimal buffer
- Save the buffer (
:w
)
Buffer with the original file should update after hexadecimal buffer saving.
xxd
(shipped with regular Vim)