Automa highlight matching parenthesis

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Automa highlight matching parenthesis

Groleo Marius
is there an option to enable, so when the cursor is on a parenthesis,
to automatically show the other matching parenthesis?
Just like when i press %.

--
Regards, Groleo!

# touch universe
# chmod +x universe
# ./universe
Reply | Threaded
Open this post in threaded view
|

Re: Automa highlight matching parenthesis

Charles E Campbell Jr
Quoting Groleo Marius <[hidden email]>:

> is there an option to enable, so when the cursor is on a parenthesis,
> to automatically show the other matching parenthesis?
> Just like when i press %.


Check out

:he showmatch

Also, there's HiMtchBrkt.vim, available at
http://mysite.verizon.net/astronaut/vim/index.html#VimFuncs under the
heading "Highlighting Matching Bracket".

The tip at http://vim.sourceforge.net/tips/tip.php?tip_id=177
(Highlight matching brackets as one moves in normal mode)

mentions this.

Regards,
Chip Campbell

Reply | Threaded
Open this post in threaded view
|

Re: Automa highlight matching parenthesis

A.J.Mechelynck
In reply to this post by Groleo Marius
Groleo Marius wrote:
> is there an option to enable, so when the cursor is on a parenthesis,
> to automatically show the other matching parenthesis?
> Just like when i press %.
>

See
        :help %
        :help 'showmatch'

HTH,
Tony.