Skip to contentSkip to conversation

gitk: Map KP_Divide to focus the search box

PATCH New Michele Ballabio 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 gitk |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
gitk +1 -0
index a7294a1..3835a51 100755
@@ -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
Signature · 1 line
1.6.2.22.gc2ac