diff options
author | Ismael Luceno <ismael@iodev.co.uk> | 2015-04-15 13:18:17 -0300 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2015-05-17 14:23:12 +1000 |
commit | 0deb5c97217b9d4695f3d09c081e39fee58ed60f (patch) | |
tree | 360e7585226ba16dedf7228ff9fd36c1108cb692 | |
parent | gitk: Show the current view's name in the window title (diff) | |
download | tgif-0deb5c97217b9d4695f3d09c081e39fee58ed60f.tar.xz |
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 <ismael@iodev.co.uk>
Signed-off-by: Paul Mackerras <paulus@samba.org>
-rwxr-xr-x | gitk | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 <Key-KP_Divide> {focus $fstring} bindkey <Key-Return> {dofind 1 1} @@ -3071,6 +3072,7 @@ proc keys {} { [mc "<%s-F> Find" $M1T] [mc "<%s-G> Move to next find hit" $M1T] [mc "<Return> 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"] |