summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlxf <sng@luxagraf.net>2020-12-26 13:17:06 -0500
committerlxf <sng@luxagraf.net>2020-12-26 13:17:06 -0500
commitafeebfb37a33eaae0435862b7c08b75ddb35cdd7 (patch)
tree081b853ffd10bbf428ae54d8f18f414c40970987
parentfc68b5e61bc3cacb4dcfa034ab6db8af41352747 (diff)
tried yet another means of making regular vim work with alacritty and wayland, failed
-rw-r--r--.vimrc7
1 files changed, 2 insertions, 5 deletions
diff --git a/.vimrc b/.vimrc
index 3a682ca..c4eaeb0 100644
--- a/.vimrc
+++ b/.vimrc
@@ -421,8 +421,5 @@ nmap <leader># :%s/### /###/g
imap jj <Esc>
vmap <silent> <leader>r <esc>:'<,'>:w !espeak &> /dev/null <CR>
-nnoremap "*p :let @"=substitute(system("wl-paste --no-newline --primary"), '<C-v><C-m>', '', 'g')<cr>p
-xnoremap <c-c> y:!wl-copy <C-r>"<cr><cr>gv
-vnoremap <c-c> y:!wl-copy <C-r>"<cr><cr>gv
-
-
+xnoremap "+y y:call system("wl-copy", @")<cr>
+nnoremap "+p :let @"=substitute(system("wl-paste --no-newline"), '<C-v><C-m>', '', 'g')<cr>p