summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2019-01-20 01:20:59 +0100
committerSébastien Helleu <flashcode@flashtux.org>2019-01-20 01:29:28 +0100
commit9d6ebeda0d20c8a4b89a568d09ebdcf17d3b5a94 (patch)
tree3df5c514bf3608c4b046d3301c0244ccfdb98f17 /src
parent09a124c22697686c8420c5201d25c39d3bd72c13 (diff)
downloadweechat-9d6ebeda0d20c8a4b89a568d09ebdcf17d3b5a94.zip
core: add default keys ctrl-F11/F12 to scroll up/down one page in nicklist (same action as F11/F12)
Diffstat (limited to 'src')
-rw-r--r--src/gui/curses/gui-curses-key.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/curses/gui-curses-key.c b/src/gui/curses/gui-curses-key.c
index c8bf1dda5..383064c7b 100644
--- a/src/gui/curses/gui-curses-key.c
+++ b/src/gui/curses/gui-curses-key.c
@@ -180,6 +180,10 @@ gui_key_default_bindings (int context)
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(/* c-<f11> */ "meta2-23^", "/bar scroll nicklist * -100%");
+ BIND(/* c-<f11> */ "meta2-23;5~", "/bar scroll nicklist * -100%");
+ BIND(/* c-<f12> */ "meta2-24^", "/bar scroll nicklist * +100%");
+ BIND(/* c-<f12> */ "meta2-24;5~", "/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");