commit - f70ffbb53218e6d26d9ef6babd8c106b105db18b
commit + ea025d1dbc11c33fec290591f35673b896edd822
blob - dc2613f1948e568e578c8d9c6b54e1296b91ca7d
blob + 0dd65401b0dc391a3212722256b92a0e5afc702a
--- tog/tog.1
+++ tog/tog.1
.Cm tog blame
are as follows:
.Bl -tag -width Ds
-.It Cm Down-arrow, j, Page-down, Space
+.It Cm Down-arrow, j
Move the selection cursor down.
-.It Cm Up-arrow, k, Page-up
+.It Cm Up-arrow, k
Move the selection cursor up.
+.It Cm Page-down, Space, Ctrl+f
+Move the selection cursor down one page.
+.It Cm Page-up, Ctrl+b
+Move the selection cursor up one page.
.It Cm Enter
Open a
.Cm diff
.Cm tog tree
are as follows:
.Bl -tag -width Ds
-.It Cm Down-arrow, j, Page-down
+.It Cm Down-arrow, j
Move the selection cursor down.
-.It Cm Up-arrow, k, Page-up
+.It Cm Up-arrow, k
Move the selection cursor up.
+.It Cm Page-down, Ctrl+f
+Move the selection cursor down one page.
+.It Cm Page-up, Ctrl+b
+Move the selection cursor up one page.
.It Cm Enter
Enter the currently selected directory, or switch to the
.Cm blame
blob - 9e8009077b052e09ca9a672a6324e575c6116de3
blob + cedb43dd64ce5c18d0d3451f7b9f8d0e922264b2
--- tog/tog.c
+++ tog/tog.c
s->first_displayed_line--;
break;
case KEY_PPAGE:
+ case CTRL('b'):
if (s->first_displayed_line == 1) {
s->selected_line = 1;
break;
break;
}
case KEY_NPAGE:
+ case CTRL('f'):
case ' ':
if (s->last_displayed_line >= s->blame.nlines &&
s->selected_line >= MIN(s->blame.nlines,
s->tree, s->tree == s->root);
break;
case KEY_PPAGE:
+ case CTRL('b'):
tree_scroll_up(view, &s->first_displayed_entry,
MAX(0, view->nlines - 4 - s->selected), s->tree,
s->tree == s->root);
s->last_displayed_entry, s->tree);
break;
case KEY_NPAGE:
+ case CTRL('f'):
if (got_tree_entry_get_next(s->tree, s->last_displayed_entry)
== NULL) {
/* can't scroll any further; move cursor down */