]> rtime.felk.cvut.cz Git - sojka/gitk.git/blobdiff - gitk
gitk: Map KP_Divide to focus the search box
[sojka/gitk.git] / 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