List Info

Thread: Re: ANN: New stable release - 2007.02.02




Re: ANN: New stable release - 2007.02.02
country flaguser name
United States
2007-03-02 14:59:44
On Mar 2, 2007, at 3:59 AM, Doug Kearns wrote:
I've just sent up vim-ruby-2007.02.02.

I just installed this with "gem install vim-ruby".
That's all I need to do, right?

The announcement contains this. "ri has been added as the 'keywordprg' and 'balloonexpr' is set to return the
output of ri". How do you use ri from vim?

Is there a web page that explains how to use all the features of vim-ruby?

Re: ANN: New stable release - 2007.02.02
country flaguser name
United States
2007-03-02 15:14:36
On Fri, Mar 02, 2007 at 02:59:44PM -0600, Mark Volkmann
wrote:
> On Mar 2, 2007, at 3:59 AM, Doug Kearns wrote:
> I've just sent up vim-ruby-2007.02.02.
> 
> I just installed this with "gem install
vim-ruby".
> That's all I need to do, right?

You also need to run vim-ruby-install.rb to copy the files
where Vim
can find them.

> The announcement contains this. "ri has been added
as the  
> 'keywordprg' and 'balloonexpr' is set to return the
> output of ri". How do you use ri from vim?
> 
> Is there a web page that explains how to use all the
features of vim- 
> ruby?

Not that I'm aware of; most of what vim-ruby does happens
automatically anyways.  For the two features mentioned
above, see the
Vim help:

:help 'keywordprg'
:help 'balloonexpr'

Cheers,
Tim
_______________________________________________
vim-ruby-devel mailing list
vim-ruby-develrubyforge.org

http://rubyforge.org/mailman/listinfo/vim-ruby-devel

Re: ANN: New stable release - 2007.02.02
country flaguser name
United States
2007-03-02 16:00:54
On Mar 2, 2007, at 3:14 PM, Tim Pope wrote:

> On Fri, Mar 02, 2007 at 02:59:44PM -0600, Mark Volkmann
wrote:
>> On Mar 2, 2007, at 3:59 AM, Doug Kearns wrote:
>> I've just sent up vim-ruby-2007.02.02.
>>
>> I just installed this with "gem install
vim-ruby".
>> That's all I need to do, right?
>
> You also need to run vim-ruby-install.rb to copy the
files where Vim
> can find them.

Okay. I've done that now.

>> The announcement contains this. "ri has been
added as the
>> 'keywordprg' and 'balloonexpr' is set to return
the
>> output of ri". How do you use ri from vim?
>>
>> Is there a web page that explains how to use all
the features of vim-
>> ruby?
>
> Not that I'm aware of; most of what vim-ruby does
happens
> automatically anyways.  For the two features mentioned
above, see the
> Vim help:
>
> :help 'keywordprg'

"Program to use for the K command." I read on
further, but didn't see  
anything that helped me understand what this does. Maybe I'm
just  
being dense.

> :help 'balloonexpr'

This seems like it could be cool. I'm guessing it will let
me put the  
cursor on a Ruby module, class or method name, press some
key, and  
see help in a popup tooltip. I tried to enable this with
":set  
ballooneval", but it says "E518: Unknown option:
ballooneval".

Here's the version of Vim I'm using.

7.0 (2006 May 7, compiled May 8 2006 12:56:43)
MacOS X (unix) version
_______________________________________________
vim-ruby-devel mailing list
vim-ruby-develrubyforge.org

http://rubyforge.org/mailman/listinfo/vim-ruby-devel

Re: ANN: New stable release - 2007.02.02
country flaguser name
United States
2007-03-02 16:28:18
On Fri, Mar 02, 2007 at 04:00:54PM -0600, Mark Volkmann
wrote:
> On Mar 2, 2007, at 3:14 PM, Tim Pope wrote:
> > :help 'keywordprg'
> 
> "Program to use for the K command." I read on
further, but didn't see  
> anything that helped me understand what this does.
Maybe I'm just  
> being dense.

See how K is highlighted?  That means it's a tag you can
follow.
Press CTRL-] on it.

> > :help 'balloonexpr'
> 
> This seems like it could be cool. I'm guessing it will
let me put the  
> cursor on a Ruby module, class or method name, press
some key, and  
> see help in a popup tooltip. I tried to enable this
with ":set  
> ballooneval", but it says "E518: Unknown
option: ballooneval".
> 
> Here's the version of Vim I'm using.
> 
> 7.0 (2006 May 7, compiled May 8 2006 12:56:43)
> MacOS X (unix) version

Apparently the Mac version doesn't support balloons. 
Hardly
surprising given the sorry state of GUI support.

Cheers,
Tim
_______________________________________________
vim-ruby-devel mailing list
vim-ruby-develrubyforge.org

http://rubyforge.org/mailman/listinfo/vim-ruby-devel

Re: ANN: New stable release - 2007.02.02
user name
2007-03-02 22:00:28
On Fri, Mar 02, 2007 at 03:14:36PM -0600, Tim Pope wrote:
> On Fri, Mar 02, 2007 at 02:59:44PM -0600, Mark Volkmann
wrote:

<snip>
 
> > Is there a web page that explains how to use all
the features of vim- 
> > ruby?
> 
> Not that I'm aware of; most of what vim-ruby does
happens
> automatically anyways.

http://wiki.rubygarden.org/Ruby/page/show/VimRubySupport


<snip>

Regards,
Doug
_______________________________________________
vim-ruby-devel mailing list
vim-ruby-develrubyforge.org

http://rubyforge.org/mailman/listinfo/vim-ruby-devel

[1-5]

about | contact  Other archives ( Real Estate discussion Medical topics )