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.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/doc/various.txt b/runtime/doc/various.txt
index 52e8f4d86c..33f57580c7 100644
--- a/runtime/doc/various.txt
+++ b/runtime/doc/various.txt
@@ -249,6 +249,10 @@ gx Opens the current filepath or URL (decided by
Fails if changes have been made to the current buffer,
unless 'hidden' is set.
+ If {cmd} is omitted, and the 'shell' job exits with no
+ error, the buffer is closed automatically
+ |default-autocmds|.
+
To enter |Terminal-mode| automatically: >
autocmd TermOpen * startinsert
<