aboutsummaryrefslogtreecommitdiff
path: root/vimrc
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2019-03-05 13:29:01 +0000
committerJuan J. Martinez <jjm@usebox.net>2022-05-29 22:57:28 +0100
commite30658b7c20fb6c2d71bb5d929c45e0697837858 (patch)
treea1131f5dd47d3ea7abcff52186b0ad998198a750 /vimrc
parent9bee7d08d44b32faabcbdfd4ddee7f148cb9e070 (diff)
downloaddotnvim-e30658b7c20fb6c2d71bb5d929c45e0697837858.tar.gz
dotnvim-e30658b7c20fb6c2d71bb5d929c45e0697837858.zip
Tweak updatetime, added autoread (terminal)
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc6
1 files changed, 5 insertions, 1 deletions
diff --git a/vimrc b/vimrc
index 46dedb9..0baa7e3 100644
--- a/vimrc
+++ b/vimrc
@@ -82,7 +82,11 @@ colorscheme base16-monokai
set t_ut=
" default is too slow
-set updatetime=200
+set updatetime=500
+
+" re-read the file if changed (if possible)
+set autoread
+au CursorHold,CursorHoldI * checktime
" make easier to open NERDTree
map <C-n> :NERDTreeToggle<CR>