--- a/.config/nvim/plugin/vimrc/autocmds.vim +++ b/.config/nvim/plugin/vimrc/autocmds.vim @@ -1,6 +1,8 @@ augroup vimrc autocmd! + autocmd TermOpen * startinsert + autocmd WinLeave * if !pumvisible() | stopinsert | endif " complement to autowriteall