Easily open the apidock page for tips from Vim. Inspried by open-rubygems.vim. - Thank you Arvid Andersson.
Use :Api
to open up apidock. If the cursor is located on a method name you can use :Api
to open up the apidock page for that method.
Using pathogen.vim:
cd ~/.vim/bundle
# Install dependencies
git clone https://github.com/xolox/vim-shell.git
git clone https://github.com/xolox/vim-misc.git
# Install railsdock.vim
git clone https://github.com/xuwupeng2000/vim-rails-apidock.git
Using Vundle:
Bundle 'xuwupeng2000/vim-rails-apidock'
Otherwise just copy the contents of vim-apidock's plugin folder to ~/.vim/plugins/
.
Depends on vim-mis and vim-shell. BTW: try them they are very useful.
You are very welcome to contibute. Do a pull request or issue on github.
Copyright (c) Jack Wu. Distributed under the same terms as Vim itself.
See :help license
.