1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-03 16:23:14 +02:00

core: add mouse bindings ctrl+wheel up/down to scroll horizontally buffers with free content

This commit is contained in:
Sebastien Helleu
2012-08-17 09:53:49 +02:00
parent 399a5af6f3
commit 43894db0bc
7 changed files with 135 additions and 103 deletions
+2
View File
@@ -268,6 +268,8 @@ gui_key_default_bindings (int context)
BIND("@chat:wheeldown", "/window scroll_down -window ${_window_number}");
BIND("@chat(script.scripts):wheelup", "/script up 5");
BIND("@chat(script.scripts):wheeldown", "/script down 5");
BIND("@chat:ctrl-wheelup", "/window scroll_horiz -window ${_window_number} -10%");
BIND("@chat:ctrl-wheeldown", "/window scroll_horiz -window ${_window_number} +10%");
/* mouse events on nicklist */
BIND("@bar(nicklist):button1-gesture-up", "/bar scroll nicklist ${_window_number} -100%");
BIND("@bar(nicklist):button1-gesture-down", "/bar scroll nicklist ${_window_number} +100%");