Re: [ANNOUNCE] tig-0.14
- From
- Peter Baumann <waste.manager@gmx.de>
- Date
- Feb 9, 2009, 22:30 UTC
- Message-ID
- <20090209223044.GB27232@m62s10.vlinux.de>
- In-Reply-To
- <20090209222236.GA4166@coredump.intra.peff.net>
On Mon, Feb 09, 2009 at 05:22:36PM -0500, Jeff King wrote:
Show 24 quoted lines
> 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). >
Damn. I'm so used to the vi keybindings pressing j/k to move down/up that I didn't check the cursor keys.
Sorry for the noise, Peter