1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-01 23:36:37 +02:00

core: add default keys alt+home/end and alt+F11/F12 for xterm

This commit is contained in:
Sebastien Helleu
2013-11-05 21:46:25 +01:00
parent e3c6384972
commit b6e4f918f5
2 changed files with 6 additions and 0 deletions
+2
View File
@@ -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
+4
View File
@@ -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");