Vim Recall繁體中文

Equivalent to :stop

:suspend

Example

Normal 0 / 3

Equivalent to :stop.

Terminal process

Foreground
Vim
Vim
running
autowrite
off
autowriteall
off
Before & after

Before

Terminal process

Foreground
Vim
Vim
running
autowrite
off
autowriteall
off

After

Terminal process

Foreground
Vim
Vim
running
autowrite
off
autowriteall
off

Shell

$ fg
vim notes.txt

Subject: :suspend. Documentation-backed illustration; assumes Unix terminal with job control, no GUI, both autowrite and autowriteall off, and shell set to a working interactive shell; shell state is simulated; not replay-verified. Suspends the editor under Unix job control; fg in the parent shell resumes it. With both autowrite and autowriteall off, buffer changes are not written.

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

Equivalent to :stop. 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 :sus[pend] 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.