enable wayland
This commit is contained in:
parent
6fbe95b15a
commit
3f22313f73
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue