summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-09-28 09:13:16 +0100
committerMatthew Lemon <y@yulqen.org>2024-09-28 09:13:16 +0100
commit81192dadf13c856491254317dd886aa619260291 (patch)
tree06849552386357f3a37bcb49a1dbe621feb56c33
parent0005cafe90ed04ecd73f54d90823ae8fc9d338fc (diff)
Updates color information in tmux based on advice in vim help syntax.txt file
-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'