Vim Recall繁體中文

Leave Ex mode and return to Normal mode

:open

Example

Ex 0 / 2

Leave Ex mode and return to Normal 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: :open. Documentation-backed illustration; assumes currently in Ex mode with an unmodified prepared buffer; not replay-verified. Leaves Ex mode and redraws the full-screen editor. Vim simulates Vi's :open by leaving Ex mode; it has no separate open-mode editor.

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

Leave Ex mode and return to Normal 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 :o[pen] 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.