From: Giuseppe Bilotta Date: Sun, 23 Nov 2008 17:01:30 GMT Subject: [PATCH] gitk: map / to focus the search box Message-ID: <1227459690-9896-1-git-send-email-giuseppe.bilotta@gmail.com> The / key is often used to initiate searches (less, vim, some web browsers). We change the binding for the / (slash) key from 'find next' to 'focus the search box' to follow this convention. --- gitk-git/gitk | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/gitk-git/gitk b/gitk-git/gitk index 6b671a6..8b60632 100644 --- a/gitk-git/gitk +++ b/gitk-git/gitk @@ -2271,7 +2271,7 @@ proc makewindow {} { bindkey b prevfile bindkey d "$ctext yview scroll 18 units" bindkey u "$ctext yview scroll -18 units" - bindkey / {dofind 1 1} + bindkey / {focus $fstring} bindkey {dofind 1 1} bindkey ? {dofind -1 1} bindkey f nextfile -- 1.5.6.5