diff options
author | nicm <nicm> | 2015-10-26 23:06:18 +0000 |
---|---|---|
committer | nicm <nicm> | 2015-10-26 23:06:18 +0000 |
commit | 380a1ea8ef8c4d47eda53214f0e283bdad857a6d (patch) | |
tree | 1b201c8e048cb9803016411577d4a9d0088ba76d /key-bindings.c | |
parent | b85be36d1cb96e0328b3f1dc9388288989d3b8e5 (diff) |
Default bindings for mouse wheel on status line to change window (like
we had before), from Patrick Palka.
Diffstat (limited to 'key-bindings.c')
-rw-r--r-- | key-bindings.c | 2 |
1 files changed, 2 insertions, 0 deletions
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\"'", |