Open a terminal window
Example
Normal 0 / 2Command-line 1 / 2Terminal-job 2 / 2notesCursor on line 1, column 1notesCursor on line 1, column 1Cursor on line 1, column 1Open a terminal window.
Windows
- notes.txt Active
notes
Jobs
- cat
not started
Command entered · ready to apply
Windows
- notes.txt Active
notes
Jobs
- cat
not started
Opens a terminal window and runs /bin/cat as its job. The active terminal is empty and waiting for input; notes.txt remains in its other window.
Windows
- /bin/cat [Terminal] Active
empty terminal; cat is waiting for input
- notes.txt
notes
Jobs
- /bin/cat
running with terminal input/output- Input target
terminal job; not Vim's text insertion
Before & after
notesCursor on line 1, column 1Windows
- notes.txt Active
notes
Jobs
- cat
not started
Cursor on line 1, column 1Windows
- /bin/cat [Terminal] Active
empty terminal; cat is waiting for input
- notes.txt
notes
Jobs
- /bin/cat
running with terminal input/output- Input target
terminal job; not Vim's text insertion
Subject: :terminal. Documentation-backed illustration; assumes +terminal and +job support, Unix /bin/cat available, splitbelow unset; no job is actually started by the app; not replay-verified. Opens a terminal window and runs /bin/cat as its job. The active terminal is empty and waiting for input; notes.txt remains in its other window.
Details & Vim help
Open a terminal window. 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 :ter[minal] 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. Embedded terminals require +terminal, +job and +channel build features.