Skip to content

Commit

Permalink
gitk: Map KP_Divide to focus the search box
Browse files Browse the repository at this point in the history
Commit 97bed03 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>
Signed-off-by: Paul Mackerras <paulus@samba.org>
  • Loading branch information
Michele Ballabio authored and Paul Mackerras committed Apr 17, 2009
1 parent b56e0a9 commit b6e192d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gitk
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b6e192d

Please sign in to comment.