diff --git a/vimrc b/vimrc index a40a61d..21d06a4 100644 --- a/vimrc +++ b/vimrc @@ -122,4 +122,6 @@ set viminfo='100,f1 " term for running tests " autocmd WinEnter * stopinsert -"autocmd WinEnter * NeoComplCacheEnable + +" Auto save when we go elsewhere +au FocusLost * :wa