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:
gto seek to the begining of the fileGto seek to the end of the filehjklto 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/jumpuandUto undo/redo the previous seek, like theEscapekey in IDA.xto show xrefs, and to seek to whichever you want.cto 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!