@@ -222,6 +222,7 @@ if has('nvim')
tnoremap <C-V> <C-\><C-N>"+pi
autocmd BufWinEnter,WinEnter term://* startinsert
+ autocmd BufLeave term://* stopinsert
nnoremap <Leader>tv :vsp term://zsh<CR>
nnoremap <Leader>to :term<CR>