add a shortcut for entering hints mode

This commit is contained in:
Daniel Micay 2012-11-16 14:55:56 -05:00
parent 61b89171a5
commit c1567594c9
2 changed files with 7 additions and 0 deletions

View File

@ -15,6 +15,8 @@ KEYBINDINGS
INSERT MODE
-----------
+----------------------+---------------------------------------------+
| ``ctrl-shift-x`` | activate url hints mode |
+----------------------+---------------------------------------------+
| ``ctrl-shift-r`` | reload configuration file |
+----------------------+---------------------------------------------+

View File

@ -660,6 +660,11 @@ gboolean key_press_cb(VteTerminal *vte, GdkEventKey *event, keybind_info *info)
case GDK_KEY_space:
enter_command_mode(vte, &info->select);
return TRUE;
case GDK_KEY_x:
enter_command_mode(vte, &info->select);
find_urls(vte, &info->panel);
gtk_widget_show(info->panel.da);
overlay_show(&info->panel, overlay_mode::urlselect, false);
case GDK_KEY_c:
vte_terminal_copy_clipboard(vte);
return TRUE;