mirror of
https://github.com/tmux/tmux.git
synced 2025-12-25 02:16:15 +00:00
Add {current}/{active} for -t for current window or active pane, from
Manuel Einfalt in GitHub issue 4766.
This commit is contained in:
@@ -439,6 +439,7 @@ key_bindings_init(void)
|
||||
|
||||
/* Mouse button 1 down on pane. */
|
||||
"bind -n MouseDown1Pane { select-pane -t=; send -M }",
|
||||
"bind -n C-MouseDown1Pane { swap-pane -s@ }",
|
||||
|
||||
/* Mouse button 1 drag on pane. */
|
||||
"bind -n MouseDrag1Pane { if -F '#{||:#{pane_in_mode},#{mouse_any_flag}}' { send -M } { copy-mode -M } }",
|
||||
@@ -460,6 +461,7 @@ key_bindings_init(void)
|
||||
|
||||
/* Mouse button 1 down on status line. */
|
||||
"bind -n MouseDown1Status { switch-client -t= }",
|
||||
"bind -n C-MouseDown1Status { swap-window -t@ }",
|
||||
|
||||
/* Mouse wheel down on status line. */
|
||||
"bind -n WheelDownStatus { next-window }",
|
||||
|
||||
Reference in New Issue
Block a user