From 64269263d4d8dce3bf7be137c48006d5910b8f3a Mon Sep 17 00:00:00 2001 From: David Luevano Alvarado Date: Tue, 19 Dec 2023 11:08:44 -0600 Subject: fix nvim/terminal colors --- .config/tmux/tmux.conf | 6 ++++++ 1 file changed, 6 insertions(+) (limited to '.config') diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf index e6d5e64..f32919e 100644 --- a/.config/tmux/tmux.conf +++ b/.config/tmux/tmux.conf @@ -3,6 +3,12 @@ set -g mouse on # required so 0;10;1c doesn't appear when starting tmux set -sg escape-time 50 +# fix Colors +# https://www.reddit.com/r/neovim/comments/uanvdw/neovimtmux_color_problem/ +# https://github.com/SmiteshP/Dotfiles/blob/946cde45d8349d50446629939cebd7e4091a3775/.tmux.conf#L3 +set -g default-terminal "screen-256color" +set -as terminal-features ",xterm-256color:RGB" + ### tpm config from here onwards # general set -g @plugin 'tmux-plugins/tpm' -- cgit v1.2.3-54-g00ecf