Vim Recall繁體中文

Move to the count percentage in the file

{count}%

Example

Normal 0 / 1
one
two
three
four
Cursor on line 1, column 1

Move to the count percentage in the file.

Before & after
Before
one
two
three
four
Cursor on line 1, column 1
After
one
two
three
four
Cursor on line 2, column 1

Start in Normal mode. The placeholder {count} is 50, meaning 50 percent through this four-line buffer.

Details & Vim help

Example replayed in Vim

Move to the count percentage in the file. Use in Normal mode. Braced names stand for the required argument and are not typed literally. Availability and exact behavior can depend on Vim build features, options, mappings and editor state; the linked help is authoritative.