Add items to the argument list
Example
Normal 0 / 2Command-line 1 / 2Normal 2 / 2Add items to the argument list.
Buffers
- 2 · alpha.txt Active
loaded · listed · alpha one ↩ alpha two- 3 · beta.txt
unloaded · listed- 4 · gamma.txt
unloaded · listed
Arguments
- 1 · alpha.txt Active
global argument list- 2 · beta.txt
global argument list- 3 · gamma.txt
global argument list
Command entered · ready to apply
Buffers
- 2 · alpha.txt Active
loaded · listed · alpha one ↩ alpha two- 3 · beta.txt
unloaded · listed- 4 · gamma.txt
unloaded · listed
Arguments
- 1 · alpha.txt Active
global argument list- 2 · beta.txt
global argument list- 3 · gamma.txt
global argument list
Add items to the argument list
Buffers
- 2 · alpha.txt Active
loaded · listed · alpha one ↩ alpha two- 3 · beta.txt
unloaded · listed- 4 · gamma.txt
unloaded · listed- 5 · delta.txt
unloaded · listed
Arguments
- 1 · alpha.txt Active
global argument list- 2 · delta.txt
global argument list- 3 · beta.txt
global argument list- 4 · gamma.txt
global argument list
Before & after
Before
Buffers
- 2 · alpha.txt Active
loaded · listed · alpha one ↩ alpha two- 3 · beta.txt
unloaded · listed- 4 · gamma.txt
unloaded · listed
Arguments
- 1 · alpha.txt Active
global argument list- 2 · beta.txt
global argument list- 3 · gamma.txt
global argument list
After
Buffers
- 2 · alpha.txt Active
loaded · listed · alpha one ↩ alpha two- 3 · beta.txt
unloaded · listed- 4 · gamma.txt
unloaded · listed- 5 · delta.txt
unloaded · listed
Arguments
- 1 · alpha.txt Active
global argument list- 2 · delta.txt
global argument list- 3 · beta.txt
global argument list- 4 · gamma.txt
global argument list
Start in Normal mode. The argument list contains only the named temporary example files; its active index and membership are shown separately from buffers.
alpha one
alpha two
alpha threeCursor on line 3, column 1Details & Vim help
Example replayed in Vim
Add items to 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 :arga[dd] 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.