Merge pull request #4401 from mhinz/help-term-startinsert

Doc: autocmd for always switching to insert mode (:term)
This commit is contained in:
Justin M. Keyes 2016-03-04 10:09:04 -05:00
commit c2c180fbb3

View File

@ -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|.