From fe450f0c48eaff89f1efc40da51e75c6ebdc6022 Mon Sep 17 00:00:00 2001 From: Kevin MacMartin Date: Mon, 13 Jul 2020 17:19:23 -0400 Subject: [PATCH] Increase the async update rate and fix gutter toggling --- vim/config/keyboard.vim | 2 +- vim/config/settings.vim | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/vim/config/keyboard.vim b/vim/config/keyboard.vim index 27eb85d..885f77b 100644 --- a/vim/config/keyboard.vim +++ b/vim/config/keyboard.vim @@ -489,7 +489,7 @@ nnoremap ? ':h index.txt' "toggle the display of the left gutter - nnoremap ` ':if (&number)set nonumberif (&foldenable)set nofoldenableendifif exists("b:sy")if (b:sy.active)SignifyToggleendifendifelseset numberif !(&foldenable)set foldenableendifif exists("b:sy")if !(b:sy.active)SignifyToggleendifendifendif:echo "gutter visibility toggled"' + nnoremap ` ':if (&number)set nonumberif (&foldenable)set nofoldenableendifif exists("b:sy")SignifyDisableendifelseset numberif !(&foldenable)set foldenableendifif exists("b:sy")SignifyEnableendifendif:echo "gutter visibility toggled"' "toggle folded code at foldpoints nnoremap za diff --git a/vim/config/settings.vim b/vim/config/settings.vim index 364ff78..88926b2 100644 --- a/vim/config/settings.vim +++ b/vim/config/settings.vim @@ -71,6 +71,7 @@ "}}} "USER INTERFACE: {{{ + set updatetime=100 "set updates to occur every 100ms set laststatus=2 showcmd statusline=%F%m%r%h%w[%L][%{&ff}]%y[%p%%][%04l,%04v] "statusline init and config set winheight=1 winminheight=1 "set the minimum window height to 1 lines set winwidth=1 winminwidth=1 "set the minimum window width to 1 columns