Vim Recall繁體中文

Display the argument list

:args

Example

Normal 0 / 2

Display the argument list.

Command output

Empty
Before & after

Before

Command output

Empty

After

Command output

[alpha.txt] beta.txt    gamma.txt

Start in Normal mode. The argument list contains only the named temporary example files; its active index and membership are shown separately from buffers.

Sample buffer
alpha one
alpha two
alpha three
Cursor on line 3, column 1
Details & Vim help

Example replayed in Vim

Display the argument list. 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 :ar[gs] 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.