diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2017-03-31 21:07:32 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2017-03-31 21:07:32 +0200 |
commit | 2ab301511495da1496b2703ce77b28eb6eb5e738 (patch) | |
tree | 97d37694881343233c7cdd7c02c09f3517eed5db /src/gui/curses/gui-curses-key.c | |
parent | 92fc4692473b15a844730c31dff9ad099c2bafd2 (diff) | |
download | weechat-2ab301511495da1496b2703ce77b28eb6eb5e738.zip |
script: move default mouse keys for script plugin from core to script-mouse.c
Diffstat (limited to 'src/gui/curses/gui-curses-key.c')
-rw-r--r-- | src/gui/curses/gui-curses-key.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gui/curses/gui-curses-key.c b/src/gui/curses/gui-curses-key.c index 4eadf0725..cc4ad6054 100644 --- a/src/gui/curses/gui-curses-key.c +++ b/src/gui/curses/gui-curses-key.c @@ -269,16 +269,12 @@ gui_key_default_bindings (int context) { /* mouse events on chat area */ BIND("@chat:button1", "/window ${_window_number}"); - BIND("@chat(script.scripts):button1", "/window ${_window_number};/script go ${_chat_line_y}"); - BIND("@chat(script.scripts):button2", "/window ${_window_number};/script go ${_chat_line_y};/script installremove -q ${script_name_with_extension}"); BIND("@chat:button1-gesture-left", "/window ${_window_number};/buffer -1"); BIND("@chat:button1-gesture-right", "/window ${_window_number};/buffer +1"); BIND("@chat:button1-gesture-left-long", "/window ${_window_number};/buffer 1"); BIND("@chat:button1-gesture-right-long", "/window ${_window_number};/input jump_last_buffer"); BIND("@chat:wheelup", "/window scroll_up -window ${_window_number}"); 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 */ |