Add reader for url preview
parent
6e713c1dec
commit
76b7c9e988
|
@ -0,0 +1,7 @@
|
||||||
|
function s:vertopen_url()
|
||||||
|
normal! "uyiW
|
||||||
|
let mycommand = "reader " . @u
|
||||||
|
execute "vertical terminal " . mycommand
|
||||||
|
endfunction
|
||||||
|
noremap <Plug>vertopen_url : call <SID>vertopen_url()<CR>
|
||||||
|
nmap gx <Plug>vertopen_url
|
Loading…
Reference in New Issue