Craig Ringer escribió:
> On 11/20/2013 04:22 PM, Antonin Houska wrote:
> > vim editor. The '%' shortcut can be used to jump between opening and
> > closing brackets and thus skip smaller or bigger parts of the output.
> > IMO, this output is primarily for hackers (as opposed to application
> > developers or users) and hacker should know at least a few vim shortcuts
> > anyway :-)
> 
> That's what I'm currently doing, I just wanted something that makes it
> quicker and easier. Jumping around the tree is good, but easy
> collapse/expand would be much better.

I think teaching Vim to fold (see ":help foldmethod") using the syntax
might be useful.  I would assume it's just a matter of writing a syntax
colorizer for outfuncs.c output, and set the foldmethod to syntax ...?

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to