Ⅰ. 插件描述
Web dictionaries on the vim with async.Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'aiya000/aref-web-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'aiya000/aref-web-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'aiya000/aref-web-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/aiya000/aref-web.vim
Ⅳ. 文档说明
Deprecated!
Please use vim-webpage instead.
aref-web.vim
aref-web.vim can open web dictionaries on the vim async.
The use scene example exists --here-- .

Example
- 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
Requirements
Vim or NeoVim
Vim
- 8.0 or later
- +job
NeoVim
- 0.1.7 or later
CLI Command
curlw3morelinksorlinks
Another Plugin
- (optional) open-browser.vim (for :ArefOpenBrowser)
Thanks
This plugin respected ref.vim's webdict.