Move focus to the next window
Example
Terminal-job 0 / 1Normal 1 / 1ready
input> Cursor on line 2, column 8one two
three fourCursor on line 1, column 1Move focus to the next window.
Vim registers
aRegister a- Characterwise
hello
Illustrated windows
- terminal [demo] Active
Job running- notes.txt
Ordinary text
SIMULATED terminal job
ready input>
- Job
running- Sent to job
none
Focus the next, ordinary text window; the terminal job continues.
Vim registers
aRegister a- Characterwise
hello
Illustrated windows
- terminal [demo]
Job running- notes.txt Active
Ordinary text
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
Illustrated windows
- terminal [demo] Active
Job running- notes.txt
Ordinary text
SIMULATED terminal job
ready input>
- Job
running- Sent to job
none
one two
three fourCursor on line 1, column 1Vim registers
aRegister a- Characterwise
hello
Illustrated windows
- terminal [demo]
Job running- notes.txt Active
Ordinary text
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 next window is an ordinary notes.txt buffer containing one two and three four.
Details & Vim help
Move focus to the next window. 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.