Vim Recall繁體中文

Suspend program (or start new shell)

Ctrl-z

Example

Normal 0 / 1

Suspend program (or start new shell).

SIMULATED Unix job control

Vim
Foreground, running
autowrite
off
insertmode
off
Before & after

Before

SIMULATED Unix job control

Vim
Foreground, running
autowrite
off
insertmode
off

After

SIMULATED Unix job control

Vim
Stopped
Parent shell
Foreground; fg would resume Vim
I/O
No real process or shell started

ILLUSTRATION. Assume a Unix terminal with job control and autowrite off. The job panel is simulated; no process is suspended.

Sample buffer
one two
three four
Cursor on line 1, column 1
Details & Vim help

Suspend program (or start new shell). Use in Normal mode. Availability and exact behavior can depend on Vim build features, options, mappings and editor state; the linked help is authoritative.