Re: [ANNOUNCE] tig-0.14
From: Peter Baumann <hidden>
Date: 2016-06-15 22:46:08
On Mon, Feb 09, 2009 at 05:22:36PM -0500, Jeff King wrote:
On Mon, Feb 09, 2009 at 11:07:50PM +0100, Peter Baumann wrote:quoted
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.cDon'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