Vim jump list

Last modified:

Helpful commands

'
Go to last jump.
If at last jump, go back to line in buffer where you were.

<C-o>
Go to the previous position in the jump list.

<C-i> or <Tab>
Go to the next position in the jump list,
if you're not at the most recent position.

:ju
View the jump list.

:cle
Clear the jump list.

m'
Explicitly add a jump.

A jump is a command that moves the cursor several lines away. Jumps are remembered in a jump list. Not all commands are jumps. But these are.

'
`
G
/
?
n
N
%
(
)
[[
]]
{
}
:s
:tag
L
M
H
...and the commands that start editing a new file.

Additional jump commands can be added in configuration. Each window has its own jump list.