Closed ivanoats closed 12 years ago
Try this from within Vim:
:!ruby ~/.vim/plugin/ri_vim.rb define_method
You should see something like this:
Press ENTER or type command to continue
define_method Module#define_method
define_method__attribute ActiveRecord::AttributeMethods::DeprecatedUnderscoreRead::ClassMethods#define_method__attribute
define_method_attribute ActiveRecord::AttributeMethods::PrimaryKey::ClassMethods#define_method_attribute
define_method_attribute ActiveRecord::AttributeMethods::Read::ClassMethods#define_method_attribute
define_method_attribute= ActiveRecord::AttributeMethods::TimeZoneConversion::ClassMethods#define_method_attribute=
define_method_attribute= ActiveRecord::AttributeMethods::Write::ClassMethods#define_method_attribute=
yes, thanks, that's what I see. FWIW, my path is:
!ruby ~/.janus/ri.vim/plugin/ri_vim.rb define_method
What path is ri.vim
on when you type :scriptnames
?
~/.janus/ri.vim/plugin/ri.vim
BTW, just found kindlefeeder.com, brilliant idea, nice work!
Thank you about kindlefeeder.
What happens if you re-source the ri.vim
script with :source ~/.janus/ri.vim/plugin/ri.vim
and try the lookup again?
No luck after manually re-sourcing here.
OK I think I figured it out. Please update the ri.vim and ri_vim.rb files in your plugin directory and try it out.
works! thanks!
if I do from command line, I get:
but if I try it from within ri.vim, I get "No matches!"
Not sure why, ideas?