Wed, 17 Feb 2016 19:35:14 -0500
Let's try all the autowrites
.vimrc | file | annotate | diff | comparison | revisions |
--- a/.vimrc +++ b/.vimrc @@ -270,7 +270,7 @@ set backupdir=$MYVIM/var/backup//,. set directory=$MYVIM/var/tmp//,. set backup -set autowrite +set autowriteall if has('persistent_undo') set undofile @@ -283,6 +283,8 @@ end augroup vimrc autocmd! + autocmd FocusLost * silent! wa + " you have to go out of your way to make this stick autocmd BufNewFile,BufRead * setlocal formatoptions-=ro