1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-03-12 17:55:41 +08:00

On Windows, send CTRL+r if '+' register is not given (#2950)

(instead of returning 0 which is what it currently does)
This commit is contained in:
Steven Adger 2019-07-29 06:42:04 -07:00 committed by Wang Shidong
parent ffe12a8cc0
commit 7ae6b9bd70

View File

@ -93,6 +93,7 @@ func! SpaceVim#layers#shell#ctrl_r() abort
if reg == 43
return @+
endif
return "\<C-r>"
endfunction
func! SpaceVim#layers#shell#ctrl_w() abort