aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2016-03-04 10:09:04 -0500
committerJustin M. Keyes <justinkz@gmail.com>2016-03-04 10:09:04 -0500
commitc2c180fbb3dfb0ec00183ec56f3646e08a72586c (patch)
tree734a73bcf5bdeeed039a7a5049b65cdd4ef05dd6
parented1925e0d1fb9bbc5ce9923cfa5c232b1fef41b2 (diff)
parent03fe4ad9b1273ddecd1eacbc3164e33bfc6974e5 (diff)
downloadrneovim-c2c180fbb3dfb0ec00183ec56f3646e08a72586c.tar.gz
rneovim-c2c180fbb3dfb0ec00183ec56f3646e08a72586c.tar.bz2
rneovim-c2c180fbb3dfb0ec00183ec56f3646e08a72586c.zip
Merge pull request #4401 from mhinz/help-term-startinsert
Doc: autocmd for always switching to insert mode (:term)
-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|.