aboutsummaryrefslogtreecommitdiff
path: root/gitk
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2007-02-23 12:36:34 -0800
committerPaul Mackerras <paulus@samba.org>2007-03-12 20:13:02 +1100
commite7a0919115ee15b21a557609c2268e24497c1059 (patch)
tree706e64c9200aa7c5682dd450eb6bc29696c2235a /gitk
parent9ca72f4f60269fb6328bc9c4034d19b9479637ea (diff)
downloadgit-e7a0919115ee15b21a557609c2268e24497c1059.tar.gz
git-e7a0919115ee15b21a557609c2268e24497c1059.tar.xz
[PATCH] gitk: bind <F5> key to Update (reread commits)
I chose <F5> because it's also the key to reload the current page in web browsers such as Konqueror and Firefox, so users are more likely to be familiar with it. Signed-off-by: Eric Wong <normalperson@yhbt.net> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'gitk')
-rwxr-xr-xgitk2
1 files changed, 2 insertions, 0 deletions
diff --git a/gitk b/gitk
index 9ddff3e7f..1cd2a8f52 100755
--- a/gitk
+++ b/gitk
@@ -720,6 +720,7 @@ proc makewindow {} {
bindkey <Key-Return> {findnext 0}
bindkey ? findprev
bindkey f nextfile
+ bindkey <F5> updatecommits
bind . <Control-q> doquit
bind . <Control-f> dofind
bind . <Control-g> {findnext 0}
@@ -985,6 +986,7 @@ f Scroll diff view to next file
<Ctrl-plus> Increase font size
<Ctrl-KP-> Decrease font size
<Ctrl-minus> Decrease font size
+<F5> Update
} \
-justify left -bg white -border 2 -relief sunken
pack $w.m -side top -fill both