Ⅰ. 插件描述
Vim plugin to fetch and display answers from Stack OverflowⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'james9909/stackanswers-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'james9909/stackanswers-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'james9909/stackanswers-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/james9909/stackanswers.vim
Ⅳ. 文档说明
stackanswers.vim
Vim plugin to get answers from Stack Overflow. Inspired by SO-Eclipse-Plugin.
:StackAnswers
Anything inputted after the command becomes the 'question' that will be answered from Stack Overflow, provided
that answers exist. Answers will be shown in a separate buffer.

Installation
StackAnswers should work with any modern plugin manager for Vim, such as NeoBundle, Pathogen, Vim-Plug, or Vundle.
Requirements:
StackAnswers uses an external python module to parse data. You can install it via:
sudo apt-get install pip
pip install requests
pip install beautifulsoup4
pip install html5libContributing
If you have something you would like to contribute, feel free to open up a pull request with a short
summary of what exactly you are adding/fixing.
Thanks to all the people who contributed to the project!.