enable wayland

This commit is contained in:
kuoi 2022-06-25 00:00:41 +01:00
parent 6fbe95b15a
commit 3f22313f73
1 changed files with 3 additions and 3 deletions

View File

@ -52,9 +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 "+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