]> rtime.felk.cvut.cz Git - sojka/gitk.git/commitdiff
gitk: Map KP_Divide to focus the search box
authorMichele Ballabio <barra_cuda@katamail.com>
Mon, 30 Mar 2009 12:55:21 +0000 (14:55 +0200)
committerPaul Mackerras <paulus@samba.org>
Fri, 17 Apr 2009 12:47:48 +0000 (22:47 +1000)
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>
gitk

diff --git a/gitk b/gitk
index afb22414191e51f38b47a01fccc918d68b385a20..a65d961a0732adab3c0be0949cc66fa4ef022fce 100755 (executable)
--- 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