From b19322dc5ee6287c734119201a19cfea45f755a9 Mon Sep 17 00:00:00 2001 From: Mathieu Maret Date: Fri, 9 Dec 2011 10:28:56 +0100 Subject: [PATCH] [vimrc] Check for file change --- .vimrc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.vimrc b/.vimrc index 51233ac..9e5d61c 100644 --- a/.vimrc +++ b/.vimrc @@ -46,6 +46,12 @@ endif " command line history set history=50 +" Check that file have not been changed +" CursorHold : after cursor move +" WinEnter or BufWinEnter +au WinEnter * checktime +au BufWinEnter * checktime + """"""""" " INPUT " """""""""