Commit Diff


commit - 8f3ec65d2190a456c91894e98d4d9bab1e33682f
commit + 23427b14257d8e3f07f57ee08f37763110405c58
blob - e8c907d8d9a4f50f4fdd9cce7cb1d2ebb7b3558b
blob + 56d92245cc73778b494f7d494ab0ad7560d3fab6
--- tog/tog.1
+++ tog/tog.1
@@ -108,9 +108,9 @@ Move the selection cursor up.
 Move the selection cursor down one page.
 .It Cm Page-up, Ctrl+b
 Move the selection cursor up one page.
-.It Cm Ctrl+d
+.It Cm Ctrl+d, d
 Move the selection cursor down one half page.
-.It Cm Ctrl+u
+.It Cm Ctrl+u, u
 Move the selection cursor up one half page.
 .It Cm Home, g
 Move the cursor to the newest commit.
@@ -223,9 +223,9 @@ Scroll up.
 Scroll down one page.
 .It Cm Page-up, Ctrl+b
 Scroll up one page.
-.It Cm Ctrl+d
+.It Cm Ctrl+d, d
 Scroll down one half page.
-.It Cm Ctrl+u
+.It Cm Ctrl+u, u
 Scroll up one half page.
 .It Cm Home, g
 Scroll to the top of the view.
@@ -294,9 +294,9 @@ Move the selection cursor up.
 Move the selection cursor down one page.
 .It Cm Page-up, Ctrl+b
 Move the selection cursor up one page.
-.It Cm Ctrl+d
+.It Cm Ctrl+d, d
 Move the selection cursor down one half page.
-.It Cm Ctrl+u
+.It Cm Ctrl+u, u
 Move the selection cursor up one half page.
 .It Cm Home, g
 Move the selection cursor to the first line of the file.
@@ -377,9 +377,9 @@ Move the selection cursor up.
 Move the selection cursor down one page.
 .It Cm Page-up, Ctrl+b
 Move the selection cursor up one page.
-.It Cm Ctrl+d
+.It Cm Ctrl+d, d
 Move the selection cursor down one half page.
-.It Cm Ctrl+u
+.It Cm Ctrl+u, u
 Move the selection cursor up one half page.
 .It Cm Home, g
 Move the selection cursor to the first entry.
@@ -451,9 +451,9 @@ Move the selection cursor up.
 Move the selection cursor down one page.
 .It Cm Page-up, Ctrl+b
 Move the selection cursor up one page.
-.It Cm Ctrl+d
+.It Cm Ctrl+d, d
 Move the selection cursor down one half page.
-.It Cm Ctrl+u
+.It Cm Ctrl+u, u
 Move the selection cursor up one half page.
 .It Cm Home, g
 Move the selection cursor to the first reference.
blob - 3d829e90daa7237eb690f08db11db88bc3cfc591
blob + 7eb0998939a609baf348fc765cad19951439bcd9
--- tog/tog.c
+++ tog/tog.c
@@ -2489,6 +2489,7 @@ input_log_view(struct tog_view **new_view, struct tog_
 		select_commit(s);
 		break;
 	case CTRL('u'):
+	case 'u':
 		nscroll /= 2;
 		/* FALL THROUGH */
 	case KEY_PPAGE:
@@ -2541,6 +2542,7 @@ input_log_view(struct tog_view **new_view, struct tog_
 		break;
 	}
 	case CTRL('d'):
+	case 'd':
 		nscroll /= 2;
 		/* FALL THROUGH */
 	case KEY_NPAGE:
@@ -3801,6 +3803,7 @@ input_diff_view(struct tog_view **new_view, struct tog
 			s->first_displayed_line--;
 		break;
 	case CTRL('u'):
+	case 'u':
 		nscroll /= 2;
 		/* FALL THROUGH */
 	case KEY_PPAGE:
@@ -3818,6 +3821,7 @@ input_diff_view(struct tog_view **new_view, struct tog
 			s->first_displayed_line++;
 		break;
 	case CTRL('d'):
+	case 'd':
 		nscroll /= 2;
 		/* FALL THROUGH */
 	case KEY_NPAGE:
@@ -4681,6 +4685,7 @@ input_blame_view(struct tog_view **new_view, struct to
 			s->first_displayed_line--;
 		break;
 	case CTRL('u'):
+	case 'u':
 		nscroll /= 2;
 		/* FALL THROUGH */
 	case KEY_PPAGE:
@@ -4836,6 +4841,7 @@ input_blame_view(struct tog_view **new_view, struct to
 		break;
 	}
 	case CTRL('d'):
+	case 'd':
 		nscroll /= 2;
 		/* FALL THROUGH */
 	case KEY_NPAGE:
@@ -5621,6 +5627,7 @@ input_tree_view(struct tog_view **new_view, struct tog
 		tree_scroll_up(s, 1);
 		break;
 	case CTRL('u'):
+	case 'u':
 		nscroll /= 2;
 		/* FALL THROUGH */
 	case KEY_PPAGE:
@@ -5649,6 +5656,7 @@ input_tree_view(struct tog_view **new_view, struct tog
 		tree_scroll_down(s, 1);
 		break;
 	case CTRL('d'):
+	case 'd':
 		nscroll /= 2;
 		/* FALL THROUGH */
 	case KEY_NPAGE:
@@ -6441,6 +6449,7 @@ input_ref_view(struct tog_view **new_view, struct tog_
 		ref_scroll_up(s, 1);
 		break;
 	case CTRL('u'):
+	case 'u':
 		nscroll /= 2;
 		/* FALL THROUGH */
 	case KEY_PPAGE:
@@ -6462,6 +6471,7 @@ input_ref_view(struct tog_view **new_view, struct tog_
 		ref_scroll_down(s, 1);
 		break;
 	case CTRL('d'):
+	case 'd':
 		nscroll /= 2;
 		/* FALL THROUGH */
 	case KEY_NPAGE: