Vim: Jumplist
A jump is a command that normally moves the cursor several lines away. The
position of the cursor before the jump is remembered. You can return to that
position with the /
/`` and ''
commands unless the line was changed or
deleted..
Jumps are remembered in a jump list.
There is a seperate jump list for each window.
Maximum number of entries is fixed at 100.
Will jump between files, it is window specific.
You can explicitly add to the jump list by setting the '
mark with m'
.
:jumps
display the jump list for this window.
:clearjumps
clear the jumplist for this window.
C-o
jump to [count]
older cursor position in the jump list.
<Tab>
or C-i
jump to [count]
newer cursor position in the jump list.
If you use a jump command, the current line number is inserted at the end of the jump list. It the same line was already in the jump list, it is removed.
Resources
:help jump-motions
:help jumplist