tmux: Update tmux.conf to attempt to fix nvim and tmux unicode shifting

This commit is contained in:
proctor committed 2026-03-26 13:43:19 -05:00
1 parent 644e8c26d3
commit 329c9fe07f
1 file changed
+9 -5
+9 -5
View File
@@ -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