Suspend program (or start new shell)
Ctrl-z
Example
Normal 0 / 1Suspended 1 / 1Suspend program (or start new shell).
SIMULATED Unix job control
- Vim
Foreground, running- autowrite
off- insertmode
off
Suspend the illustrated Vim job and expose its parent shell.
SIMULATED Unix job control
- Vim
Stopped- Parent shell
Foreground; fg would resume Vim- I/O
No real process or shell started
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.
one two
three fourCursor on line 1, column 1Details & 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.