aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tmux.conf13
1 files changed, 11 insertions, 2 deletions
diff --git a/tmux.conf b/tmux.conf
index ed59b92..100ed9b 100644
--- a/tmux.conf
+++ b/tmux.conf
@@ -8,8 +8,17 @@ bind M-s setw synchronize-panes
# set -g mode-mouse on
setw -g mode-keys vi
-setw -g aggressive-resize on
-set -g default-terminal "screen-256color"
+# setw -g aggressive-resize on
+
+# This has previously not given me any issues other than 'set termguicolors' in
+# vim
+# set -g default-terminal "screen-256color"
+
+# This seems to fix that problem, it may cause other issues but I'm going to
+# keep an eye on it
+set-option -g default-terminal "xterm-256color"
+set-option -ga terminal-overrides ",xterm*:Tc"
+
# Don't let command rename our windows
set-option -g allow-rename off