Vim Recall繁體中文

Equivalent to :edit, but turns off "Ex" mode

:visual

Example

Ex 0 / 2

Equivalent to :edit, but turns off "Ex" mode.

Editing interface

Mode
Ex: line-oriented prompt
Current line
red blue
Before & after

Before

Editing interface

Mode
Ex: line-oriented prompt
Current line
red blue

After

Editing interface

Mode
full-screen Normal mode
Current line
red blue

Subject: :visual. Documentation-backed illustration; assumes currently in Ex mode with an unmodified prepared buffer; not replay-verified. Leaves Ex mode and returns to the full-screen Normal-mode editor; no file argument was supplied.

Sample buffer
red blue
Cursor on line 1, column 1
Details & Vim help

Equivalent to :edit, but turns off "Ex" mode. 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 :vi[sual] 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.