I'd like to view executable file in Vim.
I used :set binary
and thought that I will see only ones and zeros, but nothing changed.
How can I achieve to see only ones and zeros?
I'd like to view executable file in Vim.
I used :set binary
and thought that I will see only ones and zeros, but nothing changed.
How can I achieve to see only ones and zeros?
Instead of ones and zeros, you can get an hexadecimal representation with:
:setlocal display=uhex
Also, you can get an hexadecimal dump of a buffer with:
:%!xxd