commit - 6131ff18e81056001a823f913094a92c10580cba
commit + 48bb96f04b6f67bbc78ae9526830dbf20e84ef7d
blob - ccc38d4c5d675293f415ff2696edfd596fbb3220
blob + a89f36bf163bbb820b19ad56b23223e7e6078bc1
--- tog/tog.1
+++ tog/tog.1
Scroll log message field to the rightmost position.
.It Cm 0
Scroll log message field to the leftmost position.
-.It Cm Page-down, Ctrl+f, f
+.It Cm Page-down, Space, Ctrl+f, f
Move the selection cursor down one page.
.It Cm Page-up, Ctrl+b, b
Move the selection cursor up one page.
a long time depending on the number of commits in branch history.
If needed, this operation can be cancelled with
.Cm Backspace .
-.It Cm Enter, Space
+.It Cm Enter
Open a
.Cm diff
view showing file changes made in the currently selected commit.
Move the selection cursor down.
.It Cm Up-arrow, k, Ctrl-p
Move the selection cursor up.
-.It Cm Page-down, Ctrl+f, f
+.It Cm Page-down, Space, Ctrl+f, f
Move the selection cursor down one page.
.It Cm Page-up, Ctrl+b, b
Move the selection cursor up one page.
Move the selection cursor down.
.It Cm Up-arrow, k, Ctrl-p
Move the selection cursor up.
-.It Cm Page-down, Ctrl+f, f
+.It Cm Page-down, Space, Ctrl+f, f
Move the selection cursor down one page.
.It Cm Page-up, Ctrl+b, b
Move the selection cursor up one page.
blob - 89cccde0f2eae2e05d0e8be40c9c6e25e6c7fabe
blob + 17b45ee2d85a1a2a4e160e82a484d346d9874d7d
--- tog/tog.c
+++ tog/tog.c
/* FALL THROUGH */
case KEY_NPAGE:
case CTRL('f'):
- case 'f': {
+ case 'f':
+ case ' ': {
struct commit_queue_entry *first;
first = s->first_displayed_entry;
if (first == NULL)
}
break;
case KEY_ENTER:
- case ' ':
case '\r':
if (s->selected_entry == NULL)
break;
case KEY_NPAGE:
case CTRL('f'):
case 'f':
+ case ' ':
if (got_tree_entry_get_next(s->tree, s->last_displayed_entry)
== NULL) {
/* can't scroll any further; move cursor down */
case KEY_NPAGE:
case CTRL('f'):
case 'f':
+ case ' ':
if (TAILQ_NEXT(s->last_displayed_entry, entry) == NULL) {
/* can't scroll any further; move cursor down */
if (s->selected < s->ndisplayed - 1)