diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2016-03-04 10:09:04 -0500 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2016-03-04 10:09:04 -0500 |
commit | c2c180fbb3dfb0ec00183ec56f3646e08a72586c (patch) | |
tree | 734a73bcf5bdeeed039a7a5049b65cdd4ef05dd6 | |
parent | ed1925e0d1fb9bbc5ce9923cfa5c232b1fef41b2 (diff) | |
parent | 03fe4ad9b1273ddecd1eacbc3164e33bfc6974e5 (diff) | |
download | rneovim-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.txt | 4 |
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|. |