Inspect the change list
Example
Normal 0 / 3Command-line 1 / 3Hit-enter prompt 2 / 3Normal 3 / 3first linex
second line
third line
fourth line
ifth lineCursor on line 5, column 1first linex
second line
third line
fourth line
ifth lineCursor on line 5, column 1first linex
second line
third line
fourth line
ifth lineCursor on line 5, column 1first linex
second line
third line
fourth line
ifth lineCursor on line 5, column 1Show the buffer’s recorded change positions.
Local marks
- 'a
line 2, column 4- 'b
line 4, column 3- '[
line 5, column 1- ']
line 5, column 1- '^
line 1, column 12- '.
line 5, column 1
Jump list
- 1 · line 3
column 2- 2 · line 5
column 1- 3 · line 1
column 11
Change list
- 1 · line 2
column 1- 2 · line 1
column 11- 3 · line 5
column 1
Command output
Empty
Command entered · ready to apply
Local marks
- 'a
line 2, column 4- 'b
line 4, column 3- '[
line 5, column 1- ']
line 5, column 1- '^
line 1, column 12- '.
line 5, column 1
Jump list
- 1 · line 3
column 2- 2 · line 5
column 1- 3 · line 1
column 11
Change list
- 1 · line 2
column 1- 2 · line 1
column 11- 3 · line 5
column 1
Command output
Empty
Command submitted · output shown · press Enter to acknowledge
Local marks
- 'a
line 2, column 4- 'b
line 4, column 3- '[
line 5, column 1- ']
line 5, column 1- '^
line 1, column 12- '.
line 5, column 1
Jump list
- 1 · line 3
column 2- 2 · line 5
column 1- 3 · line 1
column 11
Change list
- 1 · line 2
column 1- 2 · line 1
column 11- 3 · line 5
column 1
Command output
change line col text
3 2 0 second line
2 1 10 first linex
1 5 0 ifth line
>Output acknowledged · returned to Normal mode
Local marks
- 'a
line 2, column 4- 'b
line 4, column 3- '[
line 5, column 1- ']
line 5, column 1- '^
line 1, column 12- '.
line 5, column 1
Jump list
- 1 · line 3
column 2- 2 · line 5
column 1- 3 · line 1
column 11
Change list
- 1 · line 2
column 1- 2 · line 1
column 11- 3 · line 5
column 1
Command output
change line col text
3 2 0 second line
2 1 10 first linex
1 5 0 ifth line
>Before & after
first linex
second line
third line
fourth line
ifth lineCursor on line 5, column 1Local marks
- 'a
line 2, column 4- 'b
line 4, column 3- '[
line 5, column 1- ']
line 5, column 1- '^
line 1, column 12- '.
line 5, column 1
Jump list
- 1 · line 3
column 2- 2 · line 5
column 1- 3 · line 1
column 11
Change list
- 1 · line 2
column 1- 2 · line 1
column 11- 3 · line 5
column 1
Command output
Empty
first linex
second line
third line
fourth line
ifth lineCursor on line 5, column 1Local marks
- 'a
line 2, column 4- 'b
line 4, column 3- '[
line 5, column 1- ']
line 5, column 1- '^
line 1, column 12- '.
line 5, column 1
Jump list
- 1 · line 3
column 2- 2 · line 5
column 1- 3 · line 1
column 11
Change list
- 1 · line 2
column 1- 2 · line 1
column 11- 3 · line 5
column 1
Command output
change line col text
3 2 0 second line
2 1 10 first linex
1 5 0 ifth line
>Start in Normal mode. Prepared Before: the changelist has three entries, oldest to newest, at line 2, column 1; line 1, column 11; and line 5, column 1 (one-based). Its pointer is just after the newest entry, and the cursor is at line 5, column 1. The displayed local marks and jump list are already prepared. Prepared terminal: 80 columns by 24 rows, cmdheight=1 and nomore. Submit the command with the first Enter; output waits at hit-enter. Press the second Enter to acknowledge and return to Normal mode.
Details & Vim help
Example replayed in Vim
Show the buffer’s recorded change positions.
Enter :changes and press Enter to inspect change locations available through g; and g,. This is different from both undo history and the jump list.