Files
dotfiles/profiles/base/.tmux.conf
Daniel Bauer 8f2656357f fix tmux
2019-10-30 09:51:01 +01:00

11 lines
410 B
Bash

set-window-option -g xterm-keys on
set -s escape-time 10 # faster command timeout
set -g history-limit 10000
set -g status-interval 10
set-option -g mouse on
# make scrolling with wheels work
bind -n WheelUpPane if-shell -F -t = "#{mouse_any_flag}" "send-keys -M" "if -Ft= '#{pane_in_mode}' 'send-keys -M' 'select-pane -t=; copy-mode -e; send-keys -M'"
bind -n WheelDownPane select-pane -t= \; send-keys -M