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

[PATCH] gitk: fix information in the key bindings dialog

From
GMGil Magno <gilmagno@gilmagno.com>
Date
Nov 12, 2021, 18:31 UTC
Message-ID
<20211112183117.3560-1-gilmagno@gilmagno.com>

Fix the explaination of what the "b" key does in gitk. It does not scroll the diff view up one page, but scroll it to previous file.

Signed-off-by: Gil Magno <gilmagno@gilmagno.com>
---
 gitk-git/gitk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gitk-git/gitk b/gitk-git/gitk
index 23d9dd1fe0..6bf3c4d6bb 100755
--- a/gitk-git/gitk
+++ b/gitk-git/gitk
@@ -3106,7 +3106,7 @@ proc keys {} {
 [mc "<%s-PageDown>	Scroll commit list down one page" $M1T]
 [mc "<Shift-Up>	Find backwards (upwards, later commits)"]
 [mc "<Shift-Down>	Find forwards (downwards, earlier commits)"]
-[mc "<Delete>, b	Scroll diff view up one page"]
+[mc "<Delete>	Scroll diff view up one page"]
 [mc "<Backspace>	Scroll diff view up one page"]
 [mc "<Space>		Scroll diff view down one page"]
 [mc "u		Scroll diff view up 18 lines"]
@@ -3118,6 +3118,7 @@ proc keys {} {
 [mc "/		Focus the search box"]
 [mc "?		Move to previous find hit"]
 [mc "f		Scroll diff view to next file"]
+[mc "b		Scroll diff view to previous file"]
 [mc "<%s-S>		Search for next hit in diff view" $M1T]
 [mc "<%s-R>		Search for previous hit in diff view" $M1T]
 [mc "<%s-KP+>	Increase font size" $M1T]
-- 
2.20.1
Message 1 of 1 in “gitk: fix information in the key bindings dialog”
  1. gitk: fix information in the key bindings dialogGil Magno, Nov 12, 2021

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.