diff --git a/README.rst b/README.rst index 84310a6..416190c 100644 --- a/README.rst +++ b/README.rst @@ -109,9 +109,13 @@ SELECTION MODE +--------------------------+-----------------------------------------------------------+ | ``G`` | jump to start of last row | +--------------------------+-----------------------------------------------------------+ -| ``ctrl-u`` | move cursor half a screen up | +| ``ctrl-u`` | move cursor a half screen up | +--------------------------+-----------------------------------------------------------+ -| ``ctrl-d`` | move cursor half a screen down | +| ``ctrl-d`` | move cursor a half screen down | ++--------------------------+-----------------------------------------------------------+ +| ``ctrl-b`` | move cursor a full screen up (back) | ++--------------------------+-----------------------------------------------------------+ +| ``ctrl-f`` | move cursor a full screen down (forward) | +--------------------------+-----------------------------------------------------------+ | ``y`` | copy to CLIPBOARD | +--------------------------+-----------------------------------------------------------+ diff --git a/man/termite.1 b/man/termite.1 index 1a1525b..edc30a1 100644 --- a/man/termite.1 +++ b/man/termite.1 @@ -106,9 +106,13 @@ jump to start of first row .IP "\fBG\fP" jump to start of last row .IP "\fBctrl-u\fP" -move cursor half a screen up +move cursor a half screen up .IP "\fBctrl-d\fP" -move cursor half a screen down +move cursor a half screen down +.IP "\fBctrl-b\fP" +move cursor a full screen up (back) +.IP "\fBctrl-f\fP" +move cursor a full screen down (forward) .IP "\fBy\fP" copy to \fICLIPBOARD\fP .IP "\fB/\fP" diff --git a/termite.cc b/termite.cc index 07bb593..f3379cb 100644 --- a/termite.cc +++ b/termite.cc @@ -700,6 +700,12 @@ gboolean key_press_cb(VteTerminal *vte, GdkEventKey *event, keybind_info *info) case GDK_KEY_d: move(vte, &info->select, 0, vte_terminal_get_row_count(vte) / 2); break; + case GDK_KEY_b: + move(vte, &info->select, 0, -(vte_terminal_get_row_count(vte) - 1)); + break; + case GDK_KEY_f: + move(vte, &info->select, 0, vte_terminal_get_row_count(vte) - 1); + break; } return TRUE; }