Vim Recall繁體中文

Equivalent to :number

:#

Example

Normal 0 / 3
one two
three four
five six
keep
Cursor on line 1, column 1

Equivalent to :number.

Vim messages

Empty
Last status message
earlier example message
Last warning

Example variables

g:exampleCount
1

Command output

Empty
Before & after
Before
one two
three four
five six
keep
Cursor on line 1, column 1

Vim messages

Empty
Last status message
earlier example message
Last warning

Example variables

g:exampleCount
1

Command output

Empty
After
one two
three four
five six
keep
Cursor on line 2, column 1

Vim messages

Empty
Last status message
earlier example message
Last warning

Example variables

g:exampleCount
1

Command output

1 one two
  2 three four

Start in Normal mode. Displayed message and variable values are captured from this isolated Vim; output text is never inferred from the catalog description. 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

Equivalent to :number. This Ex reference uses the full command name; the alphabetical index omits arguments. Supply the ranges, arguments, flags and prerequisite state documented in the linked help. Press Enter to submit a complete command. Availability and exact behavior can depend on Vim build features, options, mappings and editor state; the linked help is authoritative.