From debad03f8c18b3aa701a43ad29c3a0db3e024c4c Mon Sep 17 00:00:00 2001 From: aminnairi <18418459+aminnairi@users.noreply.github.com> Date: Sat, 2 Dec 2023 15:32:03 +0100 Subject: [PATCH] fixed termguicolors not working on tmux with neovim --- tmux/tmux.conf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tmux/tmux.conf b/tmux/tmux.conf index ef3ed98..db625db 100644 --- a/tmux/tmux.conf +++ b/tmux/tmux.conf @@ -39,10 +39,7 @@ unbind % set -g mouse off # Set the default terminal -set -s default-terminal 'tmux-256color' - -# Set the correct terminal feature for better termguicolors in Neovim -set-option -sa terminal-features ',XXX:RGB' +set -s default-terminal 'alacritty' # open/split window with current path bind '"' split-window -c "#{pane_current_path}" @@ -52,6 +49,9 @@ bind c new-window -c "#{pane_current_path}" # Longer workspace names set -g status-left-length 20 +# Terminal feature specific to Neovim +set-option -sa terminal-overrides ',alacritty:Tc' + # Tmux plugins set -g @plugin "janoamaral/tokyo-night-tmux" set -g @plugin 'tmux-plugins/tpm'