summaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorJulian T <julian@jtle.dk>2019-11-14 13:55:34 +0100
committerJulian T <julian@jtle.dk>2019-11-14 13:55:34 +0100
commit79273d4fa73aa639240ad104ef61d62f5051e051 (patch)
tree44625c55b2fc13c7fd0b3703d05f3225b3bd8692 /vim
parent23e44db8566de12bcc85b690b4b31015c5476e69 (diff)
Added autoupdate thing
Diffstat (limited to 'vim')
-rw-r--r--vim/.vimrc3
1 files changed, 3 insertions, 0 deletions
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')