aref-web.vim can open web dictionaries on the vim async.
The use scene example exists --here-- .
-
- Add this config to your .vimrc
let g:aref_web_source = {
\ 'stackage' : {
\ 'url' : 'https://www.stackage.org/lts-6.6/hoogle?q=%s&page=1'
\ }
\}
-
- Execute command
:Aref stackage Int -> Int
-
- https://www.stackage.org/lts-6.6/hoogle?q=Int+->+Int&page=1 will be open in buffer async
-
Vim
- Vim8.0 or later
- +job
-
Shell Command
curl
- CLI browse
w3m
orelinks
orlinks
-
Another Plugin
- (optional) open-browser.vim (for :ArefOpenBrowser)
This plugin respected ref.vim's webdict.