From db871c9dc450641e1ca960237da4db8b2439dec0 Mon Sep 17 00:00:00 2001 From: Michael Mandl Date: Sun, 22 Sep 2019 13:35:33 +0200 Subject: [PATCH] Disabled fsync and enabled periodic checktime --- vim/vimrc | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/vim/vimrc b/vim/vimrc index 55d2605..3e00931 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -55,6 +55,16 @@ set number " always enable status line set laststatus=2 +" faster saving +set nofsync + +" autoread/checktime timer +set autoread +function CheckTime(timer) + checktime +endfunction +let timerChecktime = timer_start(4000, 'CheckTime', {'repeat': -1}) + " ctags config set tags=./tags; nnoremap