diff --git a/.vimrc b/.vimrc index a6c5678..42d3389 100644 --- a/.vimrc +++ b/.vimrc @@ -242,6 +242,9 @@ set statusline+=\ %P set t_Co=256 " let g:Powerline_symbols='fancy' +" autosave when lost focus +:au FocusLost * silent! wa + " general mapping " no ddkP