git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Jonas Fonseca" <jonas.fonseca@gmail.com>
To: pascal@obry.net
Cc: "git list" <git@vger.kernel.org>
Subject: Re: Question about Tig
Date: Thu, 10 Apr 2008 19:13:56 +0200	[thread overview]
Message-ID: <2c6b72b30804101013p576847cav28d8238f8bf0d3c2@mail.gmail.com> (raw)
In-Reply-To: <47FE3679.1020604@obry.net>

On Thu, Apr 10, 2008 at 5:47 PM, Pascal Obry <pascal@obry.net> wrote:
> 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

  reply	other threads:[~2008-04-10 17:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-10 15:47 Question about Tig Pascal Obry
2008-04-10 17:13 ` Jonas Fonseca [this message]
2008-04-10 21:25   ` Pascal Obry

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2c6b72b30804101013p576847cav28d8238f8bf0d3c2@mail.gmail.com \
    --to=jonas.fonseca@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=pascal@obry.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).