On 18/02/09 10:28, Mahendra Ladhe wrote: > Hi Tony, > could you please help here?
I'm not sure, I'm resending this to the list (where you ought to have sent it in the first place). > > I tried > :let b:match_skip = 'r:\\.' > and similar things > as well as cpoptions, but nothing helped. > > Per documentation: > > When'cpoptions' > <http://vimdoc.sourceforge.net/htmldoc/options.html#%27cpoptions%27> > contains "M" |cpo-M > <http://vimdoc.sourceforge.net/htmldoc/options.html#cpo-M>| backslashes > before parens and braces are ignored. Without "M > <http://vimdoc..sourceforge.net/htmldoc/motion.html#M>" the > number of backslashes matters: an even number doesn't > match with an odd number. Thus in "( > <http://vimdoc.sourceforge.net/htmldoc/motion.html#%28> \) )" and "\( ( > \)" the first and last parenthesis match. > > > I don't have M included in my cpoptions, but still escaped parenthesis > do take part in > matching, which I do not want. > > Thanks, > Mahendra > > --- On *Tue, 17/2/09, Mahendra Ladhe /<[email protected]>/* wrote: > > From: Mahendra Ladhe <[email protected]> > Subject: How to skip escaped characters while matching using % key > To: [email protected] > Date: Tuesday, 17 February, 2009, 12:00 AM > > Hi, > I installed matchit.vim plugin. I'd like to know how to skip > characters while matching > using the '%' key. > e.g. > (abcd\)) > When cursor is at opening parenthesis, % key matches the escaped closing > parenthesis and not the last opening parenthesis. > Is there a general solution for all skipping all escaped characters. > > Thanks, > Mahendra > > > ------------------------------------------------------------------------ > Explore your hobbies and interests. Click here to begin. > > > > <http://in.rd.yahoo.com/tagline_groups_6/*http://in.promos.yahoo.com/groups/> > > > ------------------------------------------------------------------------ > Get rid of Add-Ons in your email ID. Get [email protected]. Sign > up now! > <http://in.rd.yahoo.com/tagline_dbid_11/*http://in.promos.yahoo.com/address> > Best regards, Tony. -- ... But the reward of a successful collaboration is a thing that cannot be produced by either of the parties working alone. It is akin to the benefits of sex with a partner, as opposed to masturbation. The latter is fun, but you show me anyone who has gotten a baby from playing with him or herself, and I'll show you an ugly baby, with just a whole bunch of knuckles. -- Harlan Ellison --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
