From 329c9fe07f92eb6dd15527c42c6c95ef6dea422e Mon Sep 17 00:00:00 2001 From: Proctor Date: Thu, 26 Mar 2026 13:43:19 -0500 Subject: [PATCH] tmux: Update tmux.conf to attempt to fix nvim and tmux unicode shifting --- tmux.conf | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/tmux.conf b/tmux.conf index 0220fad..b821e92 100644 --- a/tmux.conf +++ b/tmux.conf @@ -3,6 +3,7 @@ unbind C-b set -g xterm-keys on set -s extended-keys on +setw -q -g utf8 on set -g history-file ~/.tmux_history @@ -36,9 +37,10 @@ bind L resize-pane -R 5 setw -g mouse off -# set -g default-terminal "xterm-256:color" +set -g default-terminal "xterm-256:color" # set -g default-terminal "${TERM}" -set -g default-terminal "tmux-256color" +# set -g default-terminal "tmux-256color" +# set -g default-terminal "xterm-256color" set -g history-limit 55000 set -g window-status-style dim @@ -52,8 +54,11 @@ set -g update-environment "DISPLAY SSH_ASKPASS SSH_AGENT_PID SSH_CONNECTION WIND set-environment -g 'SSH_AUTH_SOCK' ~/.ssh/ssh_auth_sock # set -as terminal-overrides ',xterm-256color:RGB' -set -as terminal-features ',tmux-256color:RGB' -set-option -sa terminal-overrides ',tmux-256color:RGB' +set -as terminal-features ',xterm-256color:RGB' +# set -as terminal-features ',tmux-256color:RGB' +# set-option -sa terminal-overrides ',tmux-256color:RGB' +# set-option -sa terminal-overrides ',xterm-256color:RGB' +set -as terminal-overrides ",*:U8=0" # Undercurl set -as terminal-overrides ',*:Smulx=\E[4::%p1%dm' # undercurl support @@ -88,4 +93,3 @@ bind-key -T copy-mode-vi 'M-S-j' select-pane -D bind-key -T copy-mode-vi 'M-S-k' select-pane -U bind-key -T copy-mode-vi 'M-S-l' select-pane -R bind-key -T copy-mode-vi 'M-S-\' select-pane -l -