Added Q as a key to return to insert mode.

This commit is contained in:
Matt Kemp 2015-05-24 16:29:48 -05:00
parent 7b4957616d
commit ecd495d737
2 changed files with 2 additions and 1 deletions

View File

@ -75,7 +75,7 @@ and the visual representation of the programs running within it. You can
search, mark and copy contents from the display for use in other search, mark and copy contents from the display for use in other
programs. programs.
.PP .PP
.IP "\fBescape\fP or \fBctrl-[\fP" .IP "\fBq\fP or \fBescape\fP or \fBctrl-[\fP"
enter insert mode enter insert mode
.IP "\fBx\fP" .IP "\fBx\fP"
activate url hints mode activate url hints mode

View File

@ -749,6 +749,7 @@ gboolean key_press_cb(VteTerminal *vte, GdkEventKey *event, keybind_info *info)
} }
switch (event->keyval) { switch (event->keyval) {
case GDK_KEY_Escape: case GDK_KEY_Escape:
case GDK_KEY_q:
exit_command_mode(vte, &info->select); exit_command_mode(vte, &info->select);
gtk_widget_hide(info->panel.da); gtk_widget_hide(info->panel.da);
gtk_widget_hide(info->panel.panel); gtk_widget_hide(info->panel.panel);