aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Hinz <mh.codebro@gmail.com>2016-03-03 19:43:14 +0100
committerMarco Hinz <mh.codebro@gmail.com>2016-03-04 12:55:59 +0100
commit03fe4ad9b1273ddecd1eacbc3164e33bfc6974e5 (patch)
tree734a73bcf5bdeeed039a7a5049b65cdd4ef05dd6
parented1925e0d1fb9bbc5ce9923cfa5c232b1fef41b2 (diff)
downloadrneovim-03fe4ad9b1273ddecd1eacbc3164e33bfc6974e5.tar.gz
rneovim-03fe4ad9b1273ddecd1eacbc3164e33bfc6974e5.tar.bz2
rneovim-03fe4ad9b1273ddecd1eacbc3164e33bfc6974e5.zip
Doc: switch to terminal mode automatically
-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 ff37466a14..3f53e3f507 100644
--- a/runtime/doc/various.txt
+++ b/runtime/doc/various.txt
@@ -222,6 +222,10 @@ g8 Print the hex values of the bytes used in the
modified, but can be forced with "!". See |termopen()|
and |nvim-terminal-emulator| for more information.
+ To switch to terminal mode automatically:
+>
+ autocmd BufEnter term://* startinsert
+<
*:!cmd* *:!* *E34*
:!{cmd} Execute {cmd} with 'shell'. See also |:terminal|.