mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-03 03:10:06 +08:00
refactor(chat)!: change chat windows key binding
BREAKING CHANGE: change `SPC a o` to `SPC a h`
This commit is contained in:
parent
cd033dd3cc
commit
fde8b71b41
@ -20,7 +20,7 @@
|
||||
" @subsection key bindings
|
||||
" >
|
||||
" Key Bingding Description
|
||||
" SPC a o open chat window
|
||||
" SPC a h open chat window
|
||||
" <
|
||||
|
||||
if exists('s:chat_address')
|
||||
@ -41,7 +41,7 @@ function! SpaceVim#layers#chat#config() abort
|
||||
let g:chatting_server_ip = s:chat_address
|
||||
let g:chatting_server_port = s:chat_port
|
||||
let g:chatting_server_lib = s:chat_client_jar
|
||||
call SpaceVim#mapping#space#def('nnoremap', ['a', 'o'], 'call chat#chatting#OpenMsgWin()', 'open-chat-window', 1)
|
||||
call SpaceVim#mapping#space#def('nnoremap', ['a', 'h'], 'call chat#chatting#OpenMsgWin()', 'open-chat-window', 1)
|
||||
endfunction
|
||||
|
||||
function! SpaceVim#layers#chat#health() abort
|
||||
|
@ -1532,7 +1532,7 @@ KEY BINDINGS
|
||||
|
||||
>
|
||||
Key Bingding Description
|
||||
SPC a o open chat window
|
||||
SPC a h open chat window
|
||||
<
|
||||
|
||||
==============================================================================
|
||||
|
Loading…
Reference in New Issue
Block a user