Add reader for url preview
This commit is contained in:
parent
6e713c1dec
commit
76b7c9e988
7
config/after/reader.vim
Normal file
7
config/after/reader.vim
Normal file
|
@ -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
Block a user