feat: goto insert mode when entering a terminal in vim
This commit is contained in:
parent
32634d6212
commit
d659679bd6
@ -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
|
||||||
|
Reference in New Issue
Block a user