summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--src/gui/curses/gui-curses-key.c4
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 9a3a8c2eb..58680f673 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -13,6 +13,8 @@ http://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
Version 0.4.3 (under dev!)
--------------------------
+* core: add default keys "meta2-1;3H" / "meta2-1;3F" (alt+home/end) and
+ "meta2-23;3~" / "meta2-24;3~" (alt+F11/F12) for xterm
* core: add support of italic text (requires ncurses >= 5.9 patch 20130831)
* core: fix auto-apply of window layout in current window when option
irc.look.buffer_switch_autojoin is on
diff --git a/src/gui/curses/gui-curses-key.c b/src/gui/curses/gui-curses-key.c
index ef0bc7b92..4cdcbe9dd 100644
--- a/src/gui/curses/gui-curses-key.c
+++ b/src/gui/curses/gui-curses-key.c
@@ -169,15 +169,19 @@ gui_key_default_bindings (int context)
BIND(/* m-pgdn */ "meta2-6;3~", "/window scroll_down");
BIND(/* m-home */ "meta-meta2-1~", "/window scroll_top");
BIND(/* m-home */ "meta-meta2-7~", "/window scroll_top");
+ BIND(/* m-home */ "meta2-1;3H" , "/window scroll_top");
BIND(/* m-end */ "meta-meta2-4~", "/window scroll_bottom");
BIND(/* m-end */ "meta-meta2-8~", "/window scroll_bottom");
+ BIND(/* m-end */ "meta2-1;3F", "/window scroll_bottom");
BIND(/* m-n */ "meta-n", "/window scroll_next_highlight");
BIND(/* m-p */ "meta-p", "/window scroll_previous_highlight");
BIND(/* F9 */ "meta2-20~", "/bar scroll title * -30%");
BIND(/* F10 */ "meta2-21~", "/bar scroll title * +30%");
BIND(/* F11 */ "meta2-23~", "/bar scroll nicklist * -100%");
BIND(/* F12 */ "meta2-24~", "/bar scroll nicklist * +100%");
+ BIND(/* m-F11 */ "meta2-23;3~", "/bar scroll nicklist * b");
BIND(/* m-F11 */ "meta-meta2-23~", "/bar scroll nicklist * b");
+ BIND(/* m-F12 */ "meta2-24;3~", "/bar scroll nicklist * e");
BIND(/* m-F12 */ "meta-meta2-24~", "/bar scroll nicklist * e");
BIND(/* ^L */ "ctrl-L", "/window refresh");
BIND(/* F7 */ "meta2-18~", "/window -1");