1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-24 05:20:04 +08:00

Fix q key binding in runtime log viewer

This commit is contained in:
Shidong Wang 2021-02-14 20:16:25 +08:00
parent 0db1121180
commit f34aed626d

View File

@ -39,7 +39,7 @@ function! SpaceVim#logger#viewRuntimeLog() abort
let info .= "\n```\n" let info .= "\n```\n"
tabnew +setl\ nobuflisted tabnew +setl\ nobuflisted
nnoremap <buffer><silent> q :bd!<CR> nnoremap <buffer><silent> q :tabclose!<CR>
for msg in split(info, "\n") for msg in split(info, "\n")
call append(line('$'), msg) call append(line('$'), msg)
endfor endfor