Commit Diff


commit - 62b21d332b3a92a7f99022d68bc8fd98a4682d33
commit + 2b3e6702748e05e788bfea21aa384af4352e859b
blob - 765c5ecd53d258c8af195523d4fb1fea0c8f41d3
blob + 8a0e89a859e5cbbaffbc78116d37c7899a3468c5
--- tog/tog.1
+++ tog/tog.1
@@ -294,7 +294,7 @@ Scroll to the bottom of the view.
 Reduce diff context by N lines (default: 1).
 .It Cm \&]
 Increase diff context by N lines (default: 1).
-.It Cm <, Comma
+.It Cm <, Comma, K
 If the
 .Cm diff
 view was opened via the
@@ -304,7 +304,7 @@ If the diff was opened via the
 .Cm blame
 view, move to the Nth previous line and load the corresponding commit
 (default: 1).
-.It Cm >, Full stop
+.It Cm >, Full stop, J
 If the
 .Cm diff
 view was opened via the
blob - 82d0b3a26a196343c75bd02c869e612c75190979
blob + 06904690d55cf85511a04f4c4f979303e9baf5f2
--- tog/tog.c
+++ tog/tog.c
@@ -4826,10 +4826,12 @@ input_diff_view(struct tog_view **new_view, struct tog
 		break;
 	case '<':
 	case ',':
+	case 'K':
 		up = 1;
 		/* FALL THROUGH */
 	case '>':
 	case '.':
+	case 'J':
 		if (s->parent_view == NULL) {
 			view->count = 0;
 			break;