threads / patch / 18646

patchgitk: Map KP_Divide to focus the search box

Subject: [PATCH] gitk: Map KP_Divide to focus the search box

## tl;dr

One message between Mar 30, 2009 and Mar 30, 2009. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Michele Ballabio· Mar 30, 2009, 12:55 UTC · lore

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>
---
 gitk |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
Show changes to gitk +1 −0
diff --git a/gitk b/gitk
index a7294a1..3835a51 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
-- 
1.6.2.22.gc2ac

← back to recent threads