Vim Recall繁體中文

Equivalent to gg

<C-Home>

Example

Normal 0 / 1
one two three
four five six
seven eight nine
Cursor on line 3, column 5

Equivalent to gg.

Before & after
Before
one two three
four five six
seven eight nine
Cursor on line 3, column 5
After
one two three
four five six
seven eight nine
Cursor on line 1, column 1

Start in Normal mode.

Details & Vim help

Example replayed in Vim

Equivalent to gg. Use in Normal mode. Availability and exact behavior can depend on Vim build features, options, mappings and editor state; the linked help is authoritative.