From 380a1ea8ef8c4d47eda53214f0e283bdad857a6d Mon Sep 17 00:00:00 2001 From: nicm Date: Mon, 26 Oct 2015 23:06:18 +0000 Subject: Default bindings for mouse wheel on status line to change window (like we had before), from Patrick Palka. --- key-bindings.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'key-bindings.c') diff --git a/key-bindings.c b/key-bindings.c index cc1a1c6e..2d739e84 100644 --- a/key-bindings.c +++ b/key-bindings.c @@ -223,6 +223,8 @@ key_bindings_init(void) "bind -n MouseDown1Pane select-pane -t=\\; send-keys -M", "bind -n MouseDrag1Border resize-pane -M", "bind -n MouseDown1Status select-window -t=", + "bind -n WheelDownStatus next-window", + "bind -n WheelUpStatus previous-window", "bind -n MouseDrag1Pane if -Ft= '#{mouse_any_flag}' 'if -Ft= \"#{pane_in_mode}\" \"copy-mode -M\" \"send-keys -M\"' 'copy-mode -M'", "bind -n MouseDown3Pane select-pane -mt=", "bind -n WheelUpPane if-shell -Ft= '#{mouse_any_flag}' 'send-keys -M' 'if -Ft= \"#{pane_in_mode}\" \"send-keys -M\" \"copy-mode -e\"'", -- cgit v1.2.3