mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-02 21:10:05 +08:00
pref(log): move to last line when view runtime log
This commit is contained in:
parent
22634b2edb
commit
7662876414
@ -96,10 +96,8 @@ else
|
||||
let info .= s:LOGGER.view(s:LOGGER.level)
|
||||
tabnew +setl\ nobuflisted
|
||||
nnoremap <buffer><silent> q :tabclose!<CR>
|
||||
for msg in split(info, "\n")
|
||||
call append(line('$'), msg)
|
||||
endfor
|
||||
normal! "_dd
|
||||
call setline(1, split(info, "\n"))
|
||||
normal! G
|
||||
setl nomodifiable
|
||||
setl buftype=nofile
|
||||
setl filetype=SpaceVimLog
|
||||
|
Loading…
Reference in New Issue
Block a user