Re: Question about Tig
- From
Jonas Fonseca <jonas.fonseca@gmail.com>
- Date
- Apr 10, 2008, 17:13 UTC
- Message-ID
- <2c6b72b30804101013p576847cav28d8238f8bf0d3c2@mail.gmail.com>
- In-Reply-To
- <47FE3679.1020604@obry.net>
On Thu, Apr 10, 2008 at 5:47 PM, Pascal Obry <pascal@obry.net> wrote:
Show 10 quoted lines
> I want to stage only some hunks and not the whole file. > > The way to do this is: > > - to open the status view S > - select a file > - move the cursor up/down using j/k keys > - when inside the right hunk, press 'u' > > Fine. But a bit tedious. Is there a way to navigate one hunk
Currently there is no way to do this using a keybinding. I will put it on the list of stuff to work on. This, together with the ability to keep the position across staging 'u'pdates, will be a much needed improvement.
For now you can search for "@@" and use that to jump one hunk forward.
-- Jonas Fonseca