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