add ^L to reset and clear

This commit is contained in:
Albert Safin 2017-08-12 10:30:16 +07:00
parent fc70854161
commit 1ddbbe5d5f
3 changed files with 7 additions and 0 deletions

View File

@ -61,6 +61,8 @@ INSERT MODE
+----------------------+---------------------------------------------+
| ``shift-pagedown`` | scroll down a page |
+----------------------+---------------------------------------------+
| ``ctrl-shift-l`` | reset and clear |
+----------------------+---------------------------------------------+
| ``ctrl-+`` | increase font size |
+----------------------+---------------------------------------------+
| ``ctrl--`` | decrease font size |

View File

@ -71,6 +71,8 @@ scroll down a line
scroll up a page
.IP "\fBshift-pagedown\fP"
scroll down a page
.IP "\fBctrl-shift-l\fP"
reset and clear
.IP "\fBctrl-+\fP"
increase font size
.IP "\fBctrl--\fP"

View File

@ -971,6 +971,9 @@ gboolean key_press_cb(VteTerminal *vte, GdkEventKey *event, keybind_info *info)
case GDK_KEY_r:
reload_config();
return TRUE;
case GDK_KEY_l:
vte_terminal_reset(vte, TRUE, TRUE);
return TRUE;
default:
if (modify_key_feed(event, info, modify_table))
return TRUE;