Vim Recall繁體中文

Go to the last change position

`.

Example

Normal 0 / 1
first linex
  second line
third line
fourth line
fifth liney
Cursor on line 1, column 1

Move to the position of the last change.

Change list

1 · line 2
column 1
2 · line 1
column 11
3 · line 5
column 11

Local marks

'[
line 5, column 11
']
line 5, column 12
'^
line 5, column 12
'.
line 5, column 11
Before & after
Before
first linex
  second line
third line
fourth line
fifth liney
Cursor on line 1, column 1

Change list

1 · line 2
column 1
2 · line 1
column 11
3 · line 5
column 11

Local marks

'[
line 5, column 11
']
line 5, column 12
'^
line 5, column 12
'.
line 5, column 11
After
first linex
  second line
third line
fourth line
fifth liney
Cursor on line 5, column 11

Change list

1 · line 2
column 1
2 · line 1
column 11
3 · line 5
column 11

Local marks

'[
line 5, column 11
']
line 5, column 12
'^
line 5, column 12
'.
line 5, column 11

Start in Normal mode. The displayed last-change mark is prepared at line 5, column 11, on y; the starting cursor is line 1, column 1. The panels show the prepared mark positions and complete change list.

Details & Vim help

Example replayed in Vim

Move to the position of the last change.

Backtick-dot uses Vim’s special last-change mark. It jumps to an edit location without undoing anything; it does not repeat the dot change command.