31.3.2016

vim as hex editor

Filed under: bash,Linux,vim — nax @ 17:47

By default vim cannot do that for you. But you can use cool tool xxd. Simply use this:

:%!xxd

and instead of saving the file run this:

:%!xxd -r

This info is from this blog:

http://www.kevssite.com/2009/04/21/using-vi-as-a-hex-editor/

Comments are closed.

Powered by WordPress