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:
@@ -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%");
|
||||
|
||||
Reference in New Issue
Block a user