From 5dd9d1c6d07654acda9d37d1d77c1270255ee36f Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Sat, 26 Feb 2022 12:50:23 +0100 Subject: [PATCH] home: vim: configure short 'CursorHold' timeout --- home/vim/init.vim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/home/vim/init.vim b/home/vim/init.vim index 23717e1..ae5b15f 100644 --- a/home/vim/init.vim +++ b/home/vim/init.vim @@ -65,6 +65,9 @@ set lazyredraw " Timeout quickly on shortcuts, I can't wait two seconds to delete in visual set timeoutlen=500 +" Timeout quickly for CursorHold events (and also swap file) +set updatetime=250 + " Set dark mode by default set background=dark