Vim Recall繁體中文

Select the global argument list for the current window

:argglobal

Example

Normal 0 / 2

Select the global argument list for the current window.

Arguments

1 · delta.txt Active
local argument list
Before & after

Before

Arguments

1 · delta.txt Active
local argument list

After

Arguments

1 · alpha.txt Active
global argument list
2 · beta.txt
global argument list
3 · 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.

Sample buffer
delta one
delta two
Cursor on line 2, column 1
Details & Vim help

Example replayed in Vim

Select the global argument list for the current window. 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 :argg[lobal] 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. Without file arguments, use the existing global list and keep the current buffer. With file arguments, redefine the global list and edit its first file.