# HG changeset patch # User Meredith Howard # Date 1455755714 18000 # Node ID 3ea35d31175ba97439884237db49e604a2e21a86 # Parent 599c509f134c530ec3abdb193edeb5db760ca057 Let's try all the autowrites diff --git a/.vimrc b/.vimrc --- 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