mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
Merge pull request #4401 from mhinz/help-term-startinsert
Doc: autocmd for always switching to insert mode (:term)
This commit is contained in:
commit
c2c180fbb3
@ -222,6 +222,10 @@ g8 Print the hex values of the bytes used in the
|
|||||||
modified, but can be forced with "!". See |termopen()|
|
modified, but can be forced with "!". See |termopen()|
|
||||||
and |nvim-terminal-emulator| for more information.
|
and |nvim-terminal-emulator| for more information.
|
||||||
|
|
||||||
|
To switch to terminal mode automatically:
|
||||||
|
>
|
||||||
|
autocmd BufEnter term://* startinsert
|
||||||
|
<
|
||||||
*:!cmd* *:!* *E34*
|
*:!cmd* *:!* *E34*
|
||||||
:!{cmd} Execute {cmd} with 'shell'. See also |:terminal|.
|
:!{cmd} Execute {cmd} with 'shell'. See also |:terminal|.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user