From f34aed626d4305376bc75ba12364c48b598af806 Mon Sep 17 00:00:00 2001 From: Shidong Wang Date: Sun, 14 Feb 2021 20:16:25 +0800 Subject: [PATCH] Fix q key binding in runtime log viewer --- autoload/SpaceVim/logger.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/SpaceVim/logger.vim b/autoload/SpaceVim/logger.vim index 0b03a1119..fe6c9353d 100644 --- a/autoload/SpaceVim/logger.vim +++ b/autoload/SpaceVim/logger.vim @@ -39,7 +39,7 @@ function! SpaceVim#logger#viewRuntimeLog() abort let info .= "\n```\n" tabnew +setl\ nobuflisted - nnoremap q :bd! + nnoremap q :tabclose! for msg in split(info, "\n") call append(line('$'), msg) endfor