Switch to Terminal-Normal mode
Example
Terminal-job 0 / 1Terminal-normal 1 / 1ready
input> Cursor on line 2, column 8ready
input> Cursor on line 2, column 7Switch to Terminal-Normal mode.
Vim registers
aRegister a- Characterwise
hello
SIMULATED terminal job
ready input>
- Job
running- Sent to job
none
Stop sending keys to the job and enter Terminal-normal mode to inspect its output.
Vim registers
aRegister a- Characterwise
hello
SIMULATED terminal job
ready input>
- Job
running- Sent to job
none
Before & after
ready
input> Cursor on line 2, column 8Vim registers
aRegister a- Characterwise
hello
SIMULATED terminal job
ready input>
- Job
running- Sent to job
none
ready
input> Cursor on line 2, column 7Vim registers
aRegister a- Characterwise
hello
SIMULATED terminal job
ready input>
- Job
running- Sent to job
none
ILLUSTRATION. Assume +terminal, +job and +channel, an unset termwinkey, and an already running prepared terminal job. All output and input are SIMULATED; this module never starts or signals a process. The cursor begins at the prompt after input>.
Details & Vim help
Switch to Terminal-Normal mode. Use while the embedded terminal job has keyboard focus in Terminal-Job mode. This index form assumes 'termwinkey' is unset; changing that option changes the window-command prefix. Most Normal-mode commands require first switching to Terminal-Normal mode. Availability and exact behavior can depend on Vim build features, options, mappings and editor state; the linked help is authoritative. Embedded terminals require +terminal, +job and +channel build features.