1024:edacbb66fc8f | 1025:9dfc1a5a52dc |
---|---|
1 augroup vimrc | 1 augroup vimrc |
2 autocmd! | 2 autocmd! |
3 | |
4 autocmd TermOpen * startinsert | |
3 | 5 |
4 autocmd WinLeave * if !pumvisible() | stopinsert | endif | 6 autocmd WinLeave * if !pumvisible() | stopinsert | endif |
5 | 7 |
6 " complement to autowriteall | 8 " complement to autowriteall |
7 autocmd FocusLost * silent! wa | 9 autocmd FocusLost * silent! wa |