try to fix

This commit is contained in:
kuoi 2022-06-24 21:24:52 +01:00
parent 8fb999f8d3
commit 6fbe95b15a
1 changed files with 4 additions and 5 deletions

View File

@ -51,11 +51,10 @@ vmap <C-c> "+y
"imap <C-c> <ESC>v<CR>"+y
"nmap <C-c> v<CR>"+y
"support wayland
xnoremap "+y y:call system("wl-copy", @")<cr>
nnoremap "+p :let @"=substitute(system("wl-paste --no-newline"), '<C-v><C-m>', '', 'g')<cr>p
nnoremap "*p :let @"=substitute(system("wl-paste --no-newline --primary"), '<C-v><C-m>', '', 'g')<cr>p
xnoremap "+c c:call system("wl-copy", @")<cr>d<cr>
" support wayland
" xnoremap "+y y:call system("wl-copy", @")<cr>
" nnoremap "+p :let @"=substitute(system("wl-paste --no-newline"), '<C-v><C-m>', '', 'g')<cr>p
" nnoremap "*p :let @"=substitute(system("wl-paste --no-newline --primary"), '<C-v><C-m>', '', 'g')<cr>p
vmap <C-x> "+c
"map <C-v> "+gP