How does one quickly access ruby and rails documentation when using vim?

Posted by 46and2 on Stack Overflow See other posts from Stack Overflow or by 46and2
Published on 2011-01-15T01:16:52Z Indexed on 2011/01/15 1:53 UTC
Read the original article Hit count: 489

Filed under:
|
|

Hey all,

What method are vim users out there using to quickly access documentation for both ruby and rails (other than switching to the browser to use ruby-doc or railsapi?).

I was trying to adapt this script (http://vim.wikia.com/wiki/Online_documentation_for_word_under_cursor) to do the trick however it's only going to work if the cursor is over a class name and I'd like it to work with both class and methods.

Thanks.

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about ruby