From 590001bfe4f7e44bb9268fc29d84768a2d378ef6 Mon Sep 17 00:00:00 2001 From: Ein Verne Date: Wed, 31 Jan 2018 15:27:19 +0800 Subject: [PATCH] Auto save Signed-off-by: Ein Verne --- .vimrc | 3 +++ 1 file changed, 3 insertions(+) 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