mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 10:30:05 +08:00
parent
3fcf185924
commit
c4be5b44d4
@ -150,12 +150,21 @@ function! SpaceVim#default#keyBindings() abort
|
||||
endif
|
||||
|
||||
" yank and paste
|
||||
xnoremap <Leader>y "+y
|
||||
xnoremap <Leader>d "+d
|
||||
nnoremap <Leader>p "+p
|
||||
nnoremap <Leader>P "+P
|
||||
xnoremap <Leader>p "+p
|
||||
xnoremap <Leader>P "+P
|
||||
if has('unnamedplus')
|
||||
xnoremap <Leader>y "+y
|
||||
xnoremap <Leader>d "+d
|
||||
nnoremap <Leader>p "+p
|
||||
nnoremap <Leader>P "+P
|
||||
xnoremap <Leader>p "+p
|
||||
xnoremap <Leader>P "+P
|
||||
else
|
||||
xnoremap <Leader>y "*y
|
||||
xnoremap <Leader>d "*d
|
||||
nnoremap <Leader>p "*p
|
||||
nnoremap <Leader>P "*P
|
||||
xnoremap <Leader>p "*p
|
||||
xnoremap <Leader>P "*P
|
||||
endif
|
||||
|
||||
|
||||
" Location list movement
|
||||
|
Loading…
Reference in New Issue
Block a user