linkhandler fixes and paste only clipboard
This commit is contained in:
parent
f1c1f8f900
commit
3f27b5c1eb
1 changed files with 4 additions and 4 deletions
8
.vimrc
8
.vimrc
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue