Compare commits

...

2 commits

Author SHA1 Message Date
6fbe95b15a try to fix 2022-06-24 21:24:52 +01:00
8fb999f8d3 test 2022-06-24 16:21:45 +01:00

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