vim_config/config/after/reader.vim

8 lines
215 B
VimL
Raw Permalink Normal View History

2022-02-21 18:45:38 +01:00
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