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:
parent
0db1121180
commit
f34aed626d
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user