aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichele Ballabio <barra_cuda@katamail.com>2009-03-30 14:55:21 +0200
committerPaul Mackerras <paulus@samba.org>2009-04-17 22:47:48 +1000
commitb6e192dbf73397da0f76252b7e39770150a8763f (patch)
treeda4a7bd68acbbf8c1e08e1d18244057b477f5e57
parentb56e0a9afd63a54e2c51fba56a79b136a4e978f3 (diff)
downloadgit-b6e192dbf73397da0f76252b7e39770150a8763f.tar.gz
git-b6e192dbf73397da0f76252b7e39770150a8763f.tar.xz
gitk: Map KP_Divide to focus the search box
Commit 97bed034 changed the behavior of the '/' key on the keyboard, but the '/' on the keypad was left unused. They now both do the same thing. Signed-off-by: Michele Ballabio <barra_cuda@katamail.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
-rwxr-xr-xgitk1
1 files changed, 1 insertions, 0 deletions
diff --git a/gitk b/gitk
index afb224141..a65d961a0 100755
--- a/gitk
+++ b/gitk
@@ -2313,6 +2313,7 @@ proc makewindow {} {
bindkey d "$ctext yview scroll 18 units"
bindkey u "$ctext yview scroll -18 units"
bindkey / {focus $fstring}
+ bindkey <Key-KP_Divide> {focus $fstring}
bindkey <Key-Return> {dofind 1 1}
bindkey ? {dofind -1 1}
bindkey f nextfile