mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-02 21:10:05 +08:00
feat(chat): make shift-enter same as ctrl-j
This commit is contained in:
parent
7b85550ac8
commit
96cdf65b71
@ -200,6 +200,9 @@ function! chat#windows#open() abort
|
||||
if char ==# "\<S-Space>"
|
||||
" shift-space should return space in insert mode
|
||||
let s:c_begin .= ' '
|
||||
elseif char ==# "\<S-Enter>"
|
||||
" shift-enter should add new line
|
||||
let s:c_begin .= "\n"
|
||||
endif
|
||||
else
|
||||
let s:c_begin .= char
|
||||
|
Loading…
Reference in New Issue
Block a user