feat: goto insert mode when entering a terminal in vim
This commit is contained in:
parent
32634d6212
commit
d659679bd6
1 changed files with 1 additions and 0 deletions
|
@ -86,6 +86,7 @@ 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
|
||||||
|
|
Loading…
Reference in a new issue