summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tmux.conf8
1 files changed, 6 insertions, 2 deletions
diff --git a/tmux.conf b/tmux.conf
index cc96c17..fea2b69 100644
--- a/tmux.conf
+++ b/tmux.conf
@@ -2,6 +2,7 @@
# unbind some default keybindings
unbind C-b
+
#set-option -sa terminal-features ',screen-256color:RGB'
set-option -g focus-events on
@@ -22,10 +23,13 @@ set-option -g status-interval 60
# lower command delay
set -sg escape-time 1
-# force tmux to use xterm
#set -g default-terminal "xterm-256color"
#set -g default-terminal "tmux-256color"
-set -g default-terminal "screen-256color"
+#set -g default-terminal "screen-256color"
+
+# check :h syntax.txt in vim for why
+set -s default-terminal "tmux-256color"
+set -as terminal-overrides ",*-256color:Tc"
# set from advice in neovim :checkhealth
#set-option -sa terminal-overrides ',screen-256color:RGB'