From 23c7599ab3b81cb98e0b50b3ec05d59d3811193e Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Sun, 7 Aug 2011 00:09:53 -0400 Subject: [PATCH] Document mappings in :Gblame Also document q in :Gstatus. --- doc/fugitive.txt | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/doc/fugitive.txt b/doc/fugitive.txt index e29f64b..cde3133 100644 --- a/doc/fugitive.txt +++ b/doc/fugitive.txt @@ -51,7 +51,7 @@ that are part of Git repositories). *fugitive-:Gstatus* :Gstatus Bring up the output of git-status in the preview - window. In addition to standard motions, you can + window. In addition to standard motions, one can use and to jump from filename to filename. Press C to invoke |:Gcommit|. Press D to |:Gdiff| the file on the cursor line, or ds to @@ -59,7 +59,8 @@ that are part of Git repositories). the cursor line. Press p to do so on a per hunk basis (--patch). All of D, -, and p have a different, sensible (and hopefully intuitive) behavior when - invoked on a heading rather than a file name. + invoked on a heading rather than a file name. Press q + to close the preview window. *fugitive-:Gcommit* :Gcommit [args] A wrapper around git-commit. If there is nothing @@ -161,6 +162,14 @@ that are part of Git repositories). give any of ltwfsMC as flags and they will be passed along to git-blame. + In a blame buffer on any line, one can press to + reblame at that commit, ~ to reblame at that commit's + [count]th first grandparent (like HEAD~[count]), or P + to reblame at that commit's [count]th parent (like + HEAD^[count]). Press o or O to open up that commit + in a horizontal of vertical split. Pressing q will + close the blame buffer. + :[range]Gblame [flags] Run git-blame on the given range. *fugitive-:Gbrowse*