% Matching With Vim/Ruby
slabounty at nexatech.com
Fri May 21 10:34:13 EDT 2010
From: vim-ruby-devel-bounces at rubyforge.org [mailto:vim-ruby-devel-bounces at rubyforge.org] On Behalf Of Doug Kearns
Sent: Friday, May 21, 2010 7:05 AM
To: Vim-Ruby Devel ML
Subject: Re: % Matching With Vim/Ruby
On Fri, May 21, 2010 at 11:21 PM, Scott LaBounty <slabounty at nexatech.com> wrote:
> Not sure if this is the right list or not, but I'm trying to get matching to
> work (using %) in vim in a ruby file. For example if I have the following
> 1.upto(10) do |n|
> puts n
> If the cursor is on the "do", I'd like to hit the "%" key and have it go to
This works 'out of the box' with the b:match_words defined in the
distributed ftplugin. Is there a particular reason you're redefining
vim-ruby-devel mailing list
vim-ruby-devel at rubyforge.org
Thanks for the reply.
It didn't seem to be working out of the box (actually, I hadn't realized it should). I just removed my file and confirmed that it doesn't seem to work for me. I checked and I do have the ruby files in my /usr/share/vim/vim72 directory. Anything else I should check?
This message is confidential and may contain confidential information it is intended only for the individual[s] named herein. If this message is being sent from a member of the legal department, it may also be legally privileged. If you are not the named addressee[s] you must delete this email immediately; do not disseminate, distribute or copy.
More information about the vim-ruby-devel