.config/nvim/plugin/vimrc/autocmds.vim

changeset 1025
9dfc1a5a52dc
parent 1022
d509e282ae10
child 1050
6fb014427493
equal deleted inserted replaced
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

mercurial