mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-09 10:30:04 +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>"
|
if char ==# "\<S-Space>"
|
||||||
" shift-space should return space in insert mode
|
" shift-space should return space in insert mode
|
||||||
let s:c_begin .= ' '
|
let s:c_begin .= ' '
|
||||||
|
elseif char ==# "\<S-Enter>"
|
||||||
|
" shift-enter should add new line
|
||||||
|
let s:c_begin .= "\n"
|
||||||
endif
|
endif
|
||||||
else
|
else
|
||||||
let s:c_begin .= char
|
let s:c_begin .= char
|
||||||
|
Loading…
Reference in New Issue
Block a user