From: Jeff King Date: Mon, 09 Feb 2009 22:22:36 GMT Subject: Re: [ANNOUNCE] tig-0.14 Message-ID: <20090209222236.GA4166@coredump.intra.peff.net> In-Reply-To: <20090209220750.GA27232@m62s10.vlinux.de> On Mon, Feb 09, 2009 at 11:07:50PM +0100, Peter Baumann wrote: > Now I have a little UI glitch, which might be solved already. If im > browsing through a lot of commits, I'd like to have a way to advance to > tne next/previous commit while also showing the diff like in the pictore > below. Right now I alwasy press 'q' to leave the diff view, select > commit C and press return to show me the diff. Wouldn't it be nice to > have a way to advance to the next diff without leaving the diff window? > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > | commit A > | >commit B > | commit C > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > | diff --git a/tig.c b/tig.c > | index aec50bc..2dd0ef6 100644 > | --- a/tig.c > | +++ b/tig.c Don't the up and down arrows switch the commit (updating the diff pane as appropriate), and PgUp/PgDown scroll the diff window (I don't know the actual function names, but you should be able to even rebind these in your tigrc if you want). -Peff