summaryrefslogtreecommitdiff
path: root/src/gui/curses/gui-curses-key.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2011-12-16 12:36:28 +0100
committerSebastien Helleu <flashcode@flashtux.org>2011-12-16 12:36:28 +0100
commitdc8807a4173ccabbe3bb03d3f1d02c8b11580056 (patch)
tree98dbfffe4d0a8063aa829d6202fae9b86842f338 /src/gui/curses/gui-curses-key.c
parent1a9b8c92c8a173e6f86b1e4dc385e308d67e01f9 (diff)
downloadweechat-dc8807a4173ccabbe3bb03d3f1d02c8b11580056.zip
core: add default keys "meta2-1;5D" and "meta2-1;5C" (ctrl+left/right) for gnome-terminal
Diffstat (limited to 'src/gui/curses/gui-curses-key.c')
-rw-r--r--src/gui/curses/gui-curses-key.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/curses/gui-curses-key.c b/src/gui/curses/gui-curses-key.c
index cf463b92b..85492e882 100644
--- a/src/gui/curses/gui-curses-key.c
+++ b/src/gui/curses/gui-curses-key.c
@@ -119,9 +119,11 @@ gui_key_default_bindings (int context)
BIND(/* m-b */ "meta-b", "/input move_previous_word");
BIND(/* ^left */ "meta-Od", "/input move_previous_word");
BIND(/* ^left */ "meta-OD", "/input move_previous_word");
+ BIND(/* ^left */ "meta2-1;5D", "/input move_previous_word");
BIND(/* m-f */ "meta-f", "/input move_next_word");
BIND(/* ^right */ "meta-Oc", "/input move_next_word");
BIND(/* ^right */ "meta-OC", "/input move_next_word");
+ BIND(/* ^right */ "meta2-1;5C", "/input move_next_word");
BIND(/* up */ "meta2-A", "/input history_previous");
BIND(/* down */ "meta2-B", "/input history_next");
BIND(/* ^up */ "meta-Oa", "/input history_global_previous");