Commit 00f6361c1e0301276370cb0c7a731cb8b99caa2b

Christian Weisgerber 2021-08-30T19:12:04

remove the 'ctrl+u' shortcut in favor of just 'g' in the diff view, too

diff --git a/tog/tog.1 b/tog/tog.1
index b1b0a5e..afb62a9 100644
--- a/tog/tog.1
+++ b/tog/tog.1
@@ -216,7 +216,7 @@ Scroll up.
 Scroll down one page.
 .It Cm Page-up, Ctrl+b
 Scroll up one page.
-.It Cm Home, g, Ctrl-u
+.It Cm Home, g
 Scroll to the top of the view.
 .It Cm End, G
 Scroll to the bottom of the view.
diff --git a/tog/tog.c b/tog/tog.c
index 06ff7cd..6634343 100644
--- a/tog/tog.c
+++ b/tog/tog.c
@@ -3678,7 +3678,6 @@ input_diff_view(struct tog_view **new_view, struct tog_view *view, int ch)
 		err = create_diff(s);
 		break;
 	case 'g':
-	case CTRL('u'):
 	case KEY_HOME:
 		s->first_displayed_line = 1;
 		break;