mirror of
https://github.com/tmux/tmux.git
synced 2025-04-24 13:28:49 +00:00
By popular demand add a default binding for mouse wheel up to scroll
into history (if the mouse is, on of course).
This commit is contained in:
parent
076034345a
commit
ddbc4a0f6c
@ -225,6 +225,7 @@ key_bindings_init(void)
|
|||||||
"bind -n MouseDown1Status select-window -t=",
|
"bind -n MouseDown1Status select-window -t=",
|
||||||
"bind -n MouseDrag1Pane if -Ft= '#{mouse_any_flag}' 'if -Ft= \"#{pane_in_mode}\" \"copy-mode -M\" \"send-keys -M\"' 'copy-mode -M'",
|
"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 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\"'",
|
||||||
};
|
};
|
||||||
u_int i;
|
u_int i;
|
||||||
struct cmd_list *cmdlist;
|
struct cmd_list *cmdlist;
|
||||||
|
Loading…
Reference in New Issue
Block a user