linkhandler fixes and paste only clipboard

This commit is contained in:
Luke Smith 2018-12-08 16:01:49 -05:00
parent f1c1f8f900
commit 3f27b5c1eb

8
.vimrc
View file

@ -69,11 +69,11 @@ call plug#end()
autocmd BufRead,BufNewFile *.md set tw=79 autocmd BufRead,BufNewFile *.md set tw=79
" Use urlscan to choose and open a url: " Use urlscan to choose and open a url:
:noremap <leader>u :w<Home>silent <End> !urlscan<CR> :noremap <leader>u :w<Home> !urlscan -r 'linkhandler {}'<CR>
:noremap ,, :w<Home>silent <End> !urlscan<CR> :noremap ,, !urlscan -r 'linkhandler {}'<CR>
" Copy selected text to system clipboard (requires gvim installed): " Copy selected text to system clipboard (requires gvim/nvim/vim-x11 installed):
vnoremap <C-c> "*Y :let @+=@*<CR> vnoremap <C-c> "+y
map <C-p> "+P map <C-p> "+P
" Enable Goyo by default for mutt writting " Enable Goyo by default for mutt writting