git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[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
Message 1 of 1 in “gitk: Map KP_Divide to focus the search box”
  1. gitk: Map KP_Divide to focus the search boxMichele Ballabio, Mar 30, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.