[PATCH] gitk: Map KP_Divide to focus the search box
- From
Michele Ballabio <barra_cuda@katamail.com>
- Date
- Mar 30, 2009, 12:55 UTC
- Message-ID
- <200903301455.21721.barra_cuda@katamail.com>
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