Vim Recall繁體中文

Inspect the jump list

:jumps

Example

Normal 0 / 3
first linex
  second line
third line
fourth line
ifth line
Cursor on line 5, column 1

Show the recorded jump 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
Before & after
Before
first linex
  second line
third line
fourth line
ifth line
Cursor on line 5, column 1

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
After
first linex
  second line
third line
fourth line
ifth line
Cursor on line 5, column 1

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

jump line  col file/text
   3     3    1 third line
   2     5    0 ifth line
   1     1   10 first linex
>

Start in Normal mode. 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 recorded jump positions.

Enter :jumps and press Enter. The list identifies positions available to Ctrl-o and Ctrl-i; the display is editor state rather than buffer text.