switch the config reload binding

This commit is contained in:
Daniel Micay 2012-11-16 14:31:31 -05:00
parent a3c554e563
commit 4415184eff
2 changed files with 16 additions and 16 deletions

View File

@ -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:

View File

@ -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;