sponsor Vim development Vim logo Vim Book Ad

ri-viewer : ri-viewer.vim

 script karma  Rating 0/0, Downloaded by 804  Comments, bugs, improvements  Vim wiki

created by
Daehyub Kim
 
script type
utility
 
description
ri-viewer.vim looks up ruby document directories with a keyword such like class name or method.

You can retrieve details of class Object with bellow command:

:Ri Object

and a method detail

:Ri Object#help
:Ri Object.help

If you want to look up documents included in specified dirs such like rubygems, home, try to bellow sub command:

:RiCore
:RiGem
:RiHome

RiCore retrieves ri documents included from /rubylib/system and /rubylib/site.
RiGem retrieves from rubygems and RiHome does it from your home dir(~/.ri).

You can also get all classes and modules list:

:RiList

Also documents directories:

:RiDirs
 
install details
Copy plugin/ri-viewer.vim to your runtimepath/plugin.
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
ri-viewer.tar.gz 1.2 2011-06-15 7.0 Daehyub Kim Color Hightlight
ri-viewer.tar.gz 1.1 2011-06-14 7.0 Daehyub Kim script dismiss in plugin
ri-viewer.tar.gz 1.0 2011-06-07 7.0 Daehyub Kim Initial upload
ip used for rating: 18.118.171.20

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github