Compare commits

...

2 Commits

Author SHA1 Message Date
kuoi 6fbe95b15a try to fix 2022-06-24 21:24:52 +01:00
kuoi 8fb999f8d3 test 2022-06-24 16:21:45 +01:00
1 changed files with 4 additions and 5 deletions

View File

@ -52,10 +52,9 @@ vmap <C-c> "+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>
" 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