From 79273d4fa73aa639240ad104ef61d62f5051e051 Mon Sep 17 00:00:00 2001 From: Julian T Date: Thu, 14 Nov 2019 13:55:34 +0100 Subject: Added autoupdate thing --- vim/.vimrc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'vim') diff --git a/vim/.vimrc b/vim/.vimrc index c618fef..089c7b4 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -83,6 +83,9 @@ set shiftwidth=4 set softtabstop=4 set noexpandtab +" Check if file has changed +au FocusGained,BufEnter * :checktime + let g:tex_flavor='latex' if has('nvim') -- cgit v1.2.3