add ^B and ^F for paging in selection mode
This commit is contained in:
parent
113ca4b7c9
commit
be4e2faf73
|
@ -109,9 +109,13 @@ SELECTION MODE
|
||||||
+--------------------------+-----------------------------------------------------------+
|
+--------------------------+-----------------------------------------------------------+
|
||||||
| ``G`` | jump to start of last row |
|
| ``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 |
|
| ``y`` | copy to CLIPBOARD |
|
||||||
+--------------------------+-----------------------------------------------------------+
|
+--------------------------+-----------------------------------------------------------+
|
||||||
|
|
|
@ -106,9 +106,13 @@ jump to start of first row
|
||||||
.IP "\fBG\fP"
|
.IP "\fBG\fP"
|
||||||
jump to start of last row
|
jump to start of last row
|
||||||
.IP "\fBctrl-u\fP"
|
.IP "\fBctrl-u\fP"
|
||||||
move cursor half a screen up
|
move cursor a half screen up
|
||||||
.IP "\fBctrl-d\fP"
|
.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"
|
.IP "\fBy\fP"
|
||||||
copy to \fICLIPBOARD\fP
|
copy to \fICLIPBOARD\fP
|
||||||
.IP "\fB/\fP"
|
.IP "\fB/\fP"
|
||||||
|
|
|
@ -700,6 +700,12 @@ gboolean key_press_cb(VteTerminal *vte, GdkEventKey *event, keybind_info *info)
|
||||||
case GDK_KEY_d:
|
case GDK_KEY_d:
|
||||||
move(vte, &info->select, 0, vte_terminal_get_row_count(vte) / 2);
|
move(vte, &info->select, 0, vte_terminal_get_row_count(vte) / 2);
|
||||||
break;
|
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;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue