Vim Recall繁體中文

Equivalent to :edit

:ex

Example

Normal 0 / 2
alpha
Cursor on line 1, column 1

Equivalent to :edit.

Windows

alpha.txt Active
alpha
Before & after
Before
alpha
Cursor on line 1, column 1

Windows

alpha.txt Active
alpha
After
beta
Cursor on line 1, column 1

Windows

beta.txt Active
beta

Current buffer

Name
beta.txt
modified
no

Documentation-backed illustration. alpha.txt is the current unmodified buffer and the prepared beta.txt file exists; :ex has the :edit semantics documented in editing.txt. :ex beta.txt opens beta.txt in the current window because :ex is an alias of :edit. Primary help: :ex.

Details & Vim help

Equivalent to :edit. 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.