git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] gitk: Map KP_Divide to focus the search box
@ 2009-03-30 12:55 Michele Ballabio
  0 siblings, 0 replies; only message in thread
From: Michele Ballabio @ 2009-03-30 12:55 UTC (permalink / raw)
  To: paulus; +Cc: git

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(-)

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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2009-03-30 19:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-30 12:55 [PATCH] gitk: Map KP_Divide to focus the search box Michele Ballabio

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).