From 663e4ece0886b3df8f503bdf48f8ce23a7a45cd2 Mon Sep 17 00:00:00 2001 From: psox Date: Mon, 6 Jun 2022 11:19:34 +0100 Subject: [PATCH] set nolist on leader-N --- vimrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vimrc b/vimrc index fa6c612..6425b1d 100644 --- a/vimrc +++ b/vimrc @@ -411,9 +411,9 @@ nnoremap N :call ToggleGutter() function! ToggleGutter() abort if &number - exec "set nonumber norelativenumber signcolumn=no" + exec "set nonumber norelativenumber signcolumn=no nolist" else - exec "set number relativenumber" + exec "set number relativenumber list" try | set signcolumn=auto | catch | set signcolumn=yes:1 | endtry endif endfunction