Quickly searches documentation from DocHub.io for:
To install using pathogen.vim:
cd ~/.vim/bundle git clone git://github.com/stephenmckinney/vim-dochub.git
To install using neobundle.vim:
To install using vundle:
dochub.vim is enabled by
filetype. While editing a supported file,
simply place the cursor over a class, property, or method and type
The plugin will then open a new tab in your browser (or a new instance of
the browser) to the related docs. That's it.
|HTML||eruby, html, htmldjango|
The wildcards are documentation for DOM and JQuery, since they aren't
associated to a
filetype they have their own mapping:
JDfor DOM Documentation
JQfor JQuery Documentation
By default, dochub.vim uses the
open command for OS X or the
command for other OSes to look up the docs. You can easily change the command.
Furthermore you can choose your own mapping in the following way:
Other Documentation Plugins
This plugin started as a fork of vim-jquery-doc, but became it's own thing.
Copyright (c) Steve McKinney. Distributed under the same terms as Vim itself. See