Vim Recall繁體中文

Display lines

:list

Example

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

Display lines.

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

one two$
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

Display lines. 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. The index spelling :l[ist] puts the optional abbreviation suffix in square brackets; those brackets are not typed. Availability and exact behavior can depend on Vim build features, options, mappings and editor state; the linked help is authoritative.