2019-04-24 07:24:58 +02:00
|
|
|
# switch windows alt+number
|
|
|
|
bind-key -n M-1 select-window -t 1
|
|
|
|
bind-key -n M-2 select-window -t 2
|
|
|
|
bind-key -n M-3 select-window -t 3
|
|
|
|
bind-key -n M-4 select-window -t 4
|
|
|
|
bind-key -n M-5 select-window -t 5
|
|
|
|
bind-key -n M-6 select-window -t 6
|
|
|
|
bind-key -n M-7 select-window -t 7
|
|
|
|
bind-key -n M-8 select-window -t 8
|
|
|
|
bind-key -n M-9 select-window -t 9
|
|
|
|
|
2019-04-30 08:22:27 +02:00
|
|
|
# https://superuser.com/a/1007721
|
|
|
|
bind -n WheelUpPane if-shell -F -t = "#{mouse_any_flag}" "send-keys -M" "if -Ft= '#{pane_in_mode}' 'send-keys -M' 'copy-mode -e; send-keys -M'"
|
|
|
|
|
2021-07-04 11:48:00 +02:00
|
|
|
# Inform tmux that alacritty supports RGB
|
|
|
|
# (because for some reason terminfo doesn't?)
|
|
|
|
set -ga terminal-overrides ',alacritty*:RGB'
|