commit 38f945301c3860c6ab41b2aefa82733b72b41e94 from: Stefan Sperling date: Thu Jul 12 21:27:57 2018 UTC make backspace scroll up in blame view and document space key commit - d2dfcfbf4e1b7906855fce76f1d631c35c5c8a05 commit + 38f945301c3860c6ab41b2aefa82733b72b41e94 blob - 4a9bef0438eef57a086ed9f4ca73627610c30b6e blob + 6cbea764f8eeb0d5b89b5942a6b6342fb0b7bdbc --- tog/tog.1 +++ tog/tog.1 @@ -115,9 +115,9 @@ The key bindings for .Cm tog blame are as follows: .Bl -tag -width Ds -.It Cm Down-arrow, j, Page-down +.It Cm Down-arrow, j, Page-down, Space Move the selection cursor down. -.It Cm Up-arrow, k, Page-up +.It Cm Up-arrow, k, Page-up, Backspace Move the selection cursor up. .It Cm Enter Switch to the blob - f025bcdb28e20e67f1cd0e52029a653ca2a59b49 blob + 57e777c0c6024965628eef0431857f347f31b0e3 --- tog/tog.c +++ tog/tog.c @@ -1546,6 +1546,7 @@ show_blame_view(const char *path, struct got_object_id first_displayed_line--; break; case KEY_PPAGE: + case KEY_BACKSPACE: if (first_displayed_line == 1) { selected_line = 1; break;