From 361802899048bd27f3395149345944edf6125df9 Mon Sep 17 00:00:00 2001 From: Kevin MacMartin Date: Thu, 5 Jan 2023 17:26:21 -0500 Subject: [PATCH] Don't mess with folds when toggling the gutter --- vim/config/keyboard.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vim/config/keyboard.vim b/vim/config/keyboard.vim index 5347cc6..f8ebacc 100644 --- a/vim/config/keyboard.vim +++ b/vim/config/keyboard.vim @@ -453,7 +453,7 @@ nnoremap ? ':h index.txt' "toggle the display of the left gutter - nnoremap ` ':if (&number)set nonumberif (&foldenable)set nofoldenableendifif exists("b:sy")SignifyDisableendifelseset numberif !(&foldenable)set foldenableendifif exists("b:sy")SignifyEnableendifendif:echo "gutter visibility toggled"' + nnoremap ` ':if (&number)set nonumberif exists("b:sy")SignifyDisableendifelseset numberif exists("b:sy")SignifyEnableendifendif:echo "gutter visibility toggled"' "toggle folded code at foldpoints nnoremap za