fix: don't enter insert mode when entering terminal buffers

this wasn't really limited to terminal buffers
This commit is contained in:
Michael Mandl 2021-10-12 10:27:17 +02:00
parent f0e3b2e538
commit 8cb1920380
Signed by: mandlm
GPG key ID: 4AA25D647AA54CC7

View file

@ -90,7 +90,6 @@ augroup END
augroup terminal_mode augroup terminal_mode
autocmd! autocmd!
autocmd TermOpen * startinsert autocmd TermOpen * startinsert
autocmd VimEnter,WinEnter,BufWinEnter term://* startinsert
augroup END augroup END
" map esc to exit insert mode in terminal " map esc to exit insert mode in terminal