mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-09 16:20:07 +08:00
Add chat config
This commit is contained in:
parent
8b84e4959a
commit
8ad33a19b8
@ -4,7 +4,14 @@ function! SpaceVim#layers#chat#plugins() abort
|
|||||||
\ ]
|
\ ]
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
let s:BASE64 = SpaceVim#api#import('data#base64')
|
||||||
|
|
||||||
function! SpaceVim#layers#chat#config()
|
function! SpaceVim#layers#chat#config()
|
||||||
|
let g:chatting_server_ip = s:BASE64.decode('NDUuNzYuMTAwLjQ5')
|
||||||
|
let g:chatting_server_port = 8989
|
||||||
|
if !exists('g:chatting_server_lib')
|
||||||
|
let g:chatting_server_lib = '/home/wsdjeg/SpaceVim/Chatting-server/target/Chatting-1.0-SNAPSHOT.jar'
|
||||||
|
endif
|
||||||
call SpaceVim#mapping#space#def('nnoremap', ['a', 'q'], 'call chat#qq#start()', 'Start QQ server', 1)
|
call SpaceVim#mapping#space#def('nnoremap', ['a', 'q'], 'call chat#qq#start()', 'Start QQ server', 1)
|
||||||
|
call SpaceVim#mapping#space#def('nnoremap', ['a', 'o'], 'call chat#chatting#OpenMsgWin()', 'open spacevim community', 1)
|
||||||
endfunction
|
endfunction
|
||||||
|
Loading…
Reference in New Issue
Block a user