aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/various.txt
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/doc/various.txt')
-rw-r--r--runtime/doc/various.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/runtime/doc/various.txt b/runtime/doc/various.txt
index 7797b02ba8..d138fcf456 100644
--- a/runtime/doc/various.txt
+++ b/runtime/doc/various.txt
@@ -224,6 +224,16 @@ g8 Print the hex values of the bytes used in the
*:sh* *:shell* *E371* *E360*
:sh[ell] Removed. |vim-differences| {Nvim}
+ *:term* *:terminal*
+:term[inal][!] {cmd} Spawns {command} using the current value of 'shell'
+ in a new terminal buffer. This is equivalent to: >
+
+ :enew | call termopen('{cmd}') | startinsert
+<
+ Like |:enew|, it will fail if the current buffer is
+ modified, but can be forced with "!". See |termopen()|
+ and |nvim-terminal-emulator| for more information.
+
*:!cmd* *:!* *E34*
:!{cmd} Execute {cmd} with the shell. See also 'shell'.