From 3f27b5c1ebbf6b05313804ec9371fbfed3942d3a Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Sat, 8 Dec 2018 16:01:49 -0500 Subject: [PATCH] linkhandler fixes and paste only clipboard --- .vimrc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.vimrc b/.vimrc index 523308b..b462bbd 100644 --- a/.vimrc +++ b/.vimrc @@ -69,11 +69,11 @@ call plug#end() autocmd BufRead,BufNewFile *.md set tw=79 " Use urlscan to choose and open a url: - :noremap u :wsilent !urlscan - :noremap ,, :wsilent !urlscan + :noremap u :w !urlscan -r 'linkhandler {}' + :noremap ,, !urlscan -r 'linkhandler {}' -" Copy selected text to system clipboard (requires gvim installed): - vnoremap "*Y :let @+=@* +" Copy selected text to system clipboard (requires gvim/nvim/vim-x11 installed): + vnoremap "+y map "+P " Enable Goyo by default for mutt writting