Automatically write the file when we lose focus

This commit is contained in:
yan 2011-12-15 22:56:48 -08:00 committed by Yan Pritzker
parent ed3aacdbc9
commit a276cb35c3

4
vimrc
View File

@ -122,4 +122,6 @@ set viminfo='100,f1
" term for running tests " term for running tests
" "
autocmd WinEnter * stopinsert autocmd WinEnter * stopinsert
"autocmd WinEnter * NeoComplCacheEnable
" Auto save when we go elsewhere
au FocusLost * :wa