Jumping around in visual mode
May 4, 2014
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:
g
to seek to the begining of the fileG
to seek to the end of the filehjkl
to move, à la vim.mK
to set the mark K at the current offset'K
to seek to the previously set K mark.o offset
to seek the the offset offset.Enter
to follow the current call/jumpu
andU
to undo/redo the previous seek, like theEscape
key in IDA.x
to show xrefs, and to seek to whichever you want.c
to toggle the cursor mode>
and<
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!