summaryrefslogtreecommitdiff
path: root/.vimrc
diff options
context:
space:
mode:
Diffstat (limited to '.vimrc')
-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