Yesterday, someone asked on IRC how to jump around in visual mode (
V key to activate it, and
? for help, as usual). This is a perfect pretext for another blogpost.
To move in visual mode, you can use:
gto seek to the begining of the file
Gto seek to the end of the file
hjklto move, à la vim.
mKto set the mark K at the current offset
'Kto seek to the previously set K mark.
o offsetto seek the the offset offset.
Enterto follow the current call/jump
Uto undo/redo the previous seek, like the
Escapekey in IDA.
xto show xrefs, and to seek to whichever you want.
cto toggle the cursor mode
<to seek aligned on the current block size.
.to seek to current program counter.
As you can see, there are a lot convenient way to move in visual mode!