"GOT", but the "O" is a cute, smiling pufferfish. Index | Thread | Search

From:
Stefan Sperling <stsp@stsp.name>
Subject:
Re: tog: reset blame view's scroll position
To:
Christian Weisgerber <naddy@mips.inka.de>
Cc:
gameoftrees@openbsd.org
Date:
Mon, 14 Dec 2020 01:57:52 +0100

Download raw body.

Thread
On Sun, Dec 13, 2020 at 08:22:02PM +0100, Christian Weisgerber wrote:
> Stefan Sperling:
> 
> > Future feature idea:
> > Perhaps we should offer a command which jumps to a particular line
> > in the blame/diff views? The ':' key is unused. It could prompt for
> > a line-number and scroll to the corresponding line. Then we could
> > go back to the top by typing ': 1 Enter'
> 
> Yes, I've been thinking for a while that tog needs some sort of go
> to first/last/n-th line command, maybe like 'G' in vi or 'g'/'G'
> in less, but since we have neither numerical arguments nor a prompt
> so far, I'm not sure what it should look like.

The search feature uses a prompt.