Show :Gblame maps in tabular form

This commit is contained in:
Tim Pope 2011-10-01 04:43:25 -04:00
parent e9e48006dd
commit 6cf850dd00

View File

@ -163,19 +163,17 @@ that are part of Git repositories).
scroll bound vertical split. Press enter on a line to scroll bound vertical split. Press enter on a line to
reblame the file as it was in that commit. You can reblame the file as it was in that commit. You can
give any of ltwfsMC as flags and they will be passed give any of ltwfsMC as flags and they will be passed
along to git-blame. along to git-blame. The following maps, which work on
the cursor line commit where sensible, are provided:
In a blame buffer on any line, one can press <CR> to q close blame and return to blamed window
reblame at that commit, ~ to reblame at that commit's gq q, then |:Gedit| to return to work tree version
[count]th first grandparent (like HEAD~[count]), or P i q, then open commit
to reblame at that commit's [count]th parent (like o open commit in horizontal split
HEAD^[count]). Press o or O to open up that commit O open commit in new tab
in a horizontal of vertical split, or i to close the <CR> reblame at commit
blame window and open the commit in place of the ~ reblame at [count]th first grandparent
original file. Pressing q will close the blame P reblame at [count]th parent (like HEAD^[count])
buffer, and pressing gq will close the blame buffer
and return the targeted window to the work tree
version.
:[range]Gblame [flags] Run git-blame on the given range. :[range]Gblame [flags] Run git-blame on the given range.