From: Wolfgang Schmidt <[EMAIL PROTECTED]> Subject: Re: Paren highlighting and "jump to" Date: Thu, 12 Oct 2006 10:45:49 +0200
> Meino Christian Cramer wrote: > > Hi, > > > > (I am vim 7.0.131 on the console only on a recent gentoo Linux system) > > > > I looked into :h paren but found nothing appropiate... > > > > Currently my vim highlights matching parens. This is nice as long > > the corrosponding paren are on different lines or at least not > > grouped like this: > > > > (x) > > > > Additionally my cursor changes its color depending on whether it is > > in insert or normal mode. > > > > When the cursor is at the position of the "x" in the above example, > > confusion arises, since so much color on one place is...confusing. > > > > I would like to make the cursor to jump shortly to "the other paren" > > as long there is nothing typed in. > > > Hi, > > I thing what you're looking for is showmatch (:h showmatch), you can set > it with > > :set showmatch > or > :set sm > > Cheers, > > Wolfgang > Hi Wolfgang! oh YES! (this is a classical "flat hand against my fore head"-effect)! Once one sees the solution, it is totally unclear, why one has asked for it... :) Thanks a lot ! Have a nice weekend! mcc