1
0
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:
Shidong Wang 2021-10-24 16:51:10 +08:00
parent cd033dd3cc
commit fde8b71b41
No known key found for this signature in database
GPG Key ID: 41BB7053E835C848
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -1532,7 +1532,7 @@ KEY BINDINGS
>
Key Bingding Description
SPC a o open chat window
SPC a h open chat window
<
==============================================================================