diff --git a/files/.tmux.conf b/files/.tmux.conf index dc7353f..d079e88 100644 --- a/files/.tmux.conf +++ b/files/.tmux.conf @@ -1,4 +1,7 @@ set -g default-terminal "screen-256color" bind-key -n Home send Escape "OH" bind-key -n End send Escape "OF" -set -g terminal-overrides 'xterm*:smcup@:rmcup@' +set -ga terminal-overrides ',xterm*:smcup@:rmcup@' +set -g history-limit 30000 +bind -T root WheelUpPane if-shell -F -t = "#{alternate_on}" "send-keys -M" "select-pane -t =; copy-mode -e; send-keys -M" +bind -T root WheelDownPane if-shell -F -t = "#{alternate_on}" "send-keys -M" "select-pane -t =; send-keys -M"