On Thu, 4 Jan 2007, Tim Chase wrote:

> >     (* n (factorial (- n 1)))))
> > 
        [3 secs for me to count, moving cursor over is slower]
> > find a font and a means of displaying it which slightly disturbs the
> > spacing, position or shape of successive parentheses, so the pattern is
        [...]
> > 
> > Given my preferred editor is Vim, and I'm using it on Windows, mostly
> > with PuTTY talking to a Unix box, does anyone know if I can do this?
> > Maybe there's another solution?
> 
> Well, when coming in over a SSH connection, there's not much you can do to
> make the font itself change.  However, you can colorize differently.  Toying

But if there is a wobbly font I could switch to manually for
everything, at the Windows end,  that would suffice.

> around, I came up with this:
> 
>       :match Error /)\zs)/
> 
> which seems to correctly highlight alternating adjacent parents (using the
> "Error" group, which I tend to use, but adjust according to taste).  My

I'll probably need another group for that, but this looks a useful technique.
[...] Spellcap looks good to me.

> original though was to try and do something of the form
> "\%1c(\|%3c(\|%5c(\|..." for alternating screen columns, but I like the
> compactness of the actual solution I gave, as well as its ability to work
> regardless of the number of columns in your terminal window.

Thank you.
> 
> -tim
> 
        Hugh
> 
> 
> 

Reply via email to