diff --git a/ansible/roles/tmux/files/tmux/tmux.conf b/ansible/roles/tmux/files/tmux/tmux.conf index 59e50b6..3263f98 100644 --- a/ansible/roles/tmux/files/tmux/tmux.conf +++ b/ansible/roles/tmux/files/tmux/tmux.conf @@ -46,7 +46,7 @@ unbind % set -g mouse off # Set the default terminal -set -s default-terminal 'kitty' +set -s default-terminal 'tmux-256color' # Longer workspace names set -g status-left-length 20 @@ -58,7 +58,8 @@ set-option -sg escape-time 10 set-option -g focus-events on # Terminal feature specific to Neovim -set-option -sa terminal-overrides ',kitty:Tc' +set-option -sa terminal-overrides ',tmux-256color:Tc' +set-option -as terminal-features ',xterm-kitty:RGB' set -as terminal-overrides ',*:Smulx=\E[4::%p1%dm' # undercurl support set -as terminal-overrides ',*:Setulc=\E[58::2::%p1%{65536}%/%d::%p1%{256}%/%{255}%&%d::%p1%{255}%&%d%;m' # underscore colours - needs tmux-3.0