Go backward through jumps
Ctrl-o
Example
Normal 0 / 1Normal 1 / 1first line
second line
third line
fourth line
fifth lineCursor on line 1, column 1first line
second line
third line
fourth line
fifth lineCursor on line 5, column 1Return to an older jump-list position.
Jump list
- 1 · line 1
column 1- 2 · line 5
column 1
Local marks
- '.
line 2, column 1
Return to an older jump-list position
Jump list
- 1 · line 5 Active
column 1- 2 · line 1
column 1
Local marks
- '.
line 2, column 1
Before & after
first line
second line
third line
fourth line
fifth lineCursor on line 1, column 1Jump list
- 1 · line 1
column 1- 2 · line 5
column 1
Local marks
- '.
line 2, column 1
first line
second line
third line
fourth line
fifth lineCursor on line 5, column 1Jump list
- 1 · line 5 Active
column 1- 2 · line 1
column 1
Local marks
- '.
line 2, column 1
Start in Normal mode.
Details & Vim help
Example replayed in Vim
Return to an older jump-list position.
Searches and large motions can create jump-list entries. Normal-mode Ctrl-o moves backward through those entries; it does not undo text. Insert-mode Ctrl-o has a different meaning.