add a shortcut for entering hints mode
This commit is contained in:
parent
61b89171a5
commit
c1567594c9
|
@ -15,6 +15,8 @@ KEYBINDINGS
|
||||||
INSERT MODE
|
INSERT MODE
|
||||||
-----------
|
-----------
|
||||||
|
|
||||||
|
+----------------------+---------------------------------------------+
|
||||||
|
| ``ctrl-shift-x`` | activate url hints mode |
|
||||||
+----------------------+---------------------------------------------+
|
+----------------------+---------------------------------------------+
|
||||||
| ``ctrl-shift-r`` | reload configuration file |
|
| ``ctrl-shift-r`` | reload configuration file |
|
||||||
+----------------------+---------------------------------------------+
|
+----------------------+---------------------------------------------+
|
||||||
|
|
|
@ -660,6 +660,11 @@ gboolean key_press_cb(VteTerminal *vte, GdkEventKey *event, keybind_info *info)
|
||||||
case GDK_KEY_space:
|
case GDK_KEY_space:
|
||||||
enter_command_mode(vte, &info->select);
|
enter_command_mode(vte, &info->select);
|
||||||
return TRUE;
|
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:
|
case GDK_KEY_c:
|
||||||
vte_terminal_copy_clipboard(vte);
|
vte_terminal_copy_clipboard(vte);
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
Loading…
Reference in New Issue