1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-03-12 09:35:40 +08:00

fix(message): fix SPC b m key bidding

This commit is contained in:
wsdjeg 2022-04-26 18:24:42 +08:00
parent 72c9fcca3c
commit 06b889b7a9

View File

@ -632,10 +632,11 @@ function! s:ToggleWinDiskManager() abort
endfunction endfunction
function! s:open_message_buffer() abort function! s:open_message_buffer() abort
vertical topleft edit __Message_Buffer__ edit __Message_Buffer__
setlocal buftype=nofile bufhidden=wipe nobuflisted nolist noswapfile nowrap cursorline nospell nonumber norelativenumber setlocal buftype=nofile bufhidden=wipe nobuflisted nolist noswapfile nowrap cursorline nospell nonumber norelativenumber
setf SpaceVimMessageBuffer setf SpaceVimMessageBuffer
normal! ggdG setlocal modifiable
noautocmd normal! gg"_dG
silent put=s:CMP.execute(':message') silent put=s:CMP.execute(':message')
normal! G normal! G
setlocal nomodifiable setlocal nomodifiable