mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-24 05:20:04 +08:00
Add desc for paste from clipboard
close #2317 It is hard to change desc after key begining has been definded.
This commit is contained in:
parent
df4810fa80
commit
9daf72522a
@ -154,14 +154,18 @@ function! SpaceVim#default#keyBindings() abort
|
||||
xnoremap <Leader>y "+y
|
||||
xnoremap <Leader>d "+d
|
||||
nnoremap <Leader>p "+p
|
||||
let g:_spacevim_mappings.p = ['normal! "+p', 'paste after here']
|
||||
nnoremap <Leader>P "+P
|
||||
let g:_spacevim_mappings.P = ['normal! "+P', 'paste before here']
|
||||
xnoremap <Leader>p "+p
|
||||
xnoremap <Leader>P "+P
|
||||
else
|
||||
xnoremap <Leader>y "*y
|
||||
xnoremap <Leader>d "*d
|
||||
nnoremap <Leader>p "*p
|
||||
let g:_spacevim_mappings.p = ['normal! "*p', 'paste after here']
|
||||
nnoremap <Leader>P "*P
|
||||
let g:_spacevim_mappings.P = ['normal! "*P', 'paste before here']
|
||||
xnoremap <Leader>p "*p
|
||||
xnoremap <Leader>P "*P
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user