Vim as hexadecimal editor
Vim is a great editor. After a learning time, you can operate complex tasks in an optimized way.
But, sometime, you have to inspect some binary data. Not text. Why not use Vim as hexadecimal editor to explore these data?
Thanks to the xxd utility, we can make use of the power of Vim to edit binary data.
To convert binary data into hexadecimal text, enter:
:%!xxd
To convert hexadecimal text into binary data (before saving), enter:
:%!xxd -r
via pellelatarte (in french)
Written by Sébastien Quioc
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Vim
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#