From 03fe4ad9b1273ddecd1eacbc3164e33bfc6974e5 Mon Sep 17 00:00:00 2001 From: Marco Hinz Date: Thu, 3 Mar 2016 19:43:14 +0100 Subject: [PATCH] Doc: switch to terminal mode automatically --- runtime/doc/various.txt | 4 ++++ 1 file changed, 4 insertions(+) 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|.