On 25/06/09 13:35, Benct Philip Jonsson wrote:
>
> Thanks all.
>
> "matchpairs" isn't a very intuitive name, hovever, at least
> to me.
>
> /BP

OK, let's show one likely way to find it:

        :scriptnames

tells us all the scripts Vim has sourced so far. One of them has a 
pathfilename ending in

        .../vim72/plugin/matchparen.vim

which is a likely name for a script which matches brackets (or 
parentheses, as the case may be). So let's find all help tags with 
"matchparen" in them:

        :help matchparen<Ctrl-D>

The "most likely" one seems to be just matchparen

        :help matchparen

which happens to be near the top of the help file dedicated to that 
plugin. Alas, no table of contents. But not very far (on line 32) it is 
said:

        The characters to be matched come from the 'matchpairs' option.

Double-click 'matchpairs' (or hit Ctrl-] on it) and voilĂ .



Best regards,
Tony.
-- 
hundred-and-one symptoms of being an internet addict:
59. Your wife says communication is important in a marriage...so you buy
     another computer and install a second phone line so the two of you can
     chat.

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to