From: Ismael Luceno Date: Wed, 15 Apr 2015 16:18:17 +0000 (-0300) Subject: gitk: Make it easier to go quickly to a specific commit X-Git-Tag: v2.6.0-rc2~1^2~7 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0deb5c97217b9d4695f3d09c081e39fee58ed60f;p=thirdparty%2Fgit.git gitk: Make it easier to go quickly to a specific commit Binds "g" to focus and clear the sha1 entry box. Signed-off-by: Ismael Luceno Signed-off-by: Paul Mackerras --- diff --git a/gitk b/gitk index 8c44e834eb..68c6e701b0 100755 --- a/gitk +++ b/gitk @@ -2568,6 +2568,7 @@ proc makewindow {} { bindkey b prevfile bindkey d "$ctext yview scroll 18 units" bindkey u "$ctext yview scroll -18 units" + bindkey g {$sha1entry delete 0 end; focus $sha1entry} bindkey / {focus $fstring} bindkey {focus $fstring} bindkey {dofind 1 1} @@ -3071,6 +3072,7 @@ proc keys {} { [mc "<%s-F> Find" $M1T] [mc "<%s-G> Move to next find hit" $M1T] [mc " Move to next find hit"] +[mc "g Go to commit"] [mc "/ Focus the search box"] [mc "? Move to previous find hit"] [mc "f Scroll diff view to next file"]