sponsor Vim development Vim logo Vim Book Ad

ri-viewer : ri-viewer.vim

 script karma  Rating 0/0, Downloaded by 1072  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: 216.73.216.208

Questions about Vim should go to the maillist. Help Uganda.     Vim at Github