diff --git a/tmux/tmux.conf b/tmux/tmux.conf index c03e459..0789061 100644 --- a/tmux/tmux.conf +++ b/tmux/tmux.conf @@ -1,6 +1,14 @@ -set -g default-terminal 'screen-256color' +# Enable 256color and RGB support (because tmux loves ruining shell features) +set -g default-terminal "tmux-256color" +set-option -ga terminal-overrides ",xterm-256color:Tc" +set -as terminal-features ",gnome*:RGB" + +# Enable mouse supports for those rare times I have to select something set -g mouse on +# Prevent tmux from deleting significant amounts of history +set -g history-limit 100000 + run 'if [ -d "~/.tmux/plugins/tpm" ]; then : ; else git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm; fi' set -g @tpm_plugins ' \