From fb5ef7038780afaea24aaf8ce909fa7b5c63c5c3 Mon Sep 17 00:00:00 2001 From: Juni Kim Date: Sun, 5 Feb 2023 23:27:32 -0500 Subject: [PATCH] default to truecolor for tmux --- dots/tmux.conf | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/dots/tmux.conf b/dots/tmux.conf index 2c5ab72..19a39d6 100644 --- a/dots/tmux.conf +++ b/dots/tmux.conf @@ -1,10 +1,13 @@ -set -ga terminal-overrides ",screen-256color*:Tc" -set-option -g default-terminal "screen-256color" set -s escape-time 0 +set -g focus-events on set-option -g status-style fg=white,bg=black set-window-option -g mode-keys vi +set-option -g default-terminal "tmux-256color" +set -sa terminal-overrides ",tmux-256color*:Tc" +set-option -sa terminal-overrides ",xterm*:Tc" + unbind-key C-b set-option -g prefix C-a bind-key C-a send-prefix @@ -31,7 +34,6 @@ bind-key X \ } set -g @plugin 'tmux-plugins/tpm' -set -g @plugin 'tmux-plugins/tmux-sensible' # set -g @plugin 'odedlaz/tmux-onedark-theme' set -g @plugin 'catppuccin/tmux'