switch the config reload binding
This commit is contained in:
parent
a3c554e563
commit
4415184eff
30
README.rst
30
README.rst
|
@ -15,21 +15,21 @@ KEYBINDINGS
|
|||
INSERT MODE
|
||||
-----------
|
||||
|
||||
+-----------------------+---------------------------------------------+
|
||||
| ``ctrl-shift-escape`` | reload configuration file |
|
||||
+-----------------------+---------------------------------------------+
|
||||
| ``ctrl-shift-c`` | copy to CLIPBOARD |
|
||||
+-----------------------+---------------------------------------------+
|
||||
| ``ctrl-shift-v`` | paste from CLIPBOARD |
|
||||
+-----------------------+---------------------------------------------+
|
||||
| ``ctrl-shift-u`` | unicode input (standard GTK binding) |
|
||||
+-----------------------+---------------------------------------------+
|
||||
| ``ctrl-tab`` | start scrollback completion |
|
||||
+-----------------------+---------------------------------------------+
|
||||
| ``ctrl-shift-space`` | start command mode |
|
||||
+-----------------------+---------------------------------------------+
|
||||
| ``ctrl-shift-t`` | open terminal in the current directory [1]_ |
|
||||
+-----------------------+---------------------------------------------+
|
||||
+----------------------+---------------------------------------------+
|
||||
| ``ctrl-shift-r`` | reload configuration file |
|
||||
+----------------------+---------------------------------------------+
|
||||
| ``ctrl-shift-c`` | copy to CLIPBOARD |
|
||||
+----------------------+---------------------------------------------+
|
||||
| ``ctrl-shift-v`` | paste from CLIPBOARD |
|
||||
+----------------------+---------------------------------------------+
|
||||
| ``ctrl-shift-u`` | unicode input (standard GTK binding) |
|
||||
+----------------------+---------------------------------------------+
|
||||
| ``ctrl-tab`` | start scrollback completion |
|
||||
+----------------------+---------------------------------------------+
|
||||
| ``ctrl-shift-space`` | start command mode |
|
||||
+----------------------+---------------------------------------------+
|
||||
| ``ctrl-shift-t`` | open terminal in the current directory [1]_ |
|
||||
+----------------------+---------------------------------------------+
|
||||
|
||||
.. [1] The directory can be set by a process running in the terminal. For
|
||||
example, with zsh:
|
||||
|
|
|
@ -666,7 +666,7 @@ gboolean key_press_cb(VteTerminal *vte, GdkEventKey *event, keybind_info *info)
|
|||
case GDK_KEY_v:
|
||||
vte_terminal_paste_clipboard(vte);
|
||||
return TRUE;
|
||||
case GDK_KEY_Escape:
|
||||
case GDK_KEY_r:
|
||||
load_config(GTK_WINDOW(gtk_widget_get_toplevel(GTK_WIDGET(vte))),
|
||||
vte, &info->config, nullptr);
|
||||
return TRUE;
|
||||
|
|
Loading…
Reference in New Issue