On 2006-10-31, Tim Chase <[EMAIL PROTECTED]> wrote:
> I occasionally use the
> 
>       ])
>       ]}
>       [{
>       [(
> 
> family of commands to jump to the associated unmatched 
> paren/brace.  However, I haven't found any such functionality for 
> square brackets.  Have I just overlooked something?  I know that 
> the "]]" command goes to the next code-block, so the command I 
> would normally guess is already taken.  Is there something 
> similar for square brackets that I've missed?  Or some way to 
> compose such a command easily?

See

    :help matchit

Define

    :let b:match_words = '\[:\]'

Use operators

    [%      Go to [count] previous unmatched [.
    ]%      Go to [count] next unmatched ].

HTH,
Gary

-- 
Gary Johnson                 | Agilent Technologies
[EMAIL PROTECTED]     | Wireless Division
                             | Spokane, Washington, USA

Reply via email to