From 6b117275402271f6ac43d027df5ba562fec147dd Mon Sep 17 00:00:00 2001 From: Ismo Vuorinen Date: Wed, 4 Feb 2026 02:39:02 +0200 Subject: [PATCH] refactor(tmux): consolidate terminal capabilities into terminal-features Replace terminal-overrides + terminal-features with a single terminal-features line declaring RGB, clipboard, usstyle, strikethrough and overline for xterm-256color (WezTerm). --- config/tmux/tmux.conf | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/config/tmux/tmux.conf b/config/tmux/tmux.conf index 65821f0..d21928b 100644 --- a/config/tmux/tmux.conf +++ b/config/tmux/tmux.conf @@ -15,19 +15,21 @@ # -o : Set the option only if it is not already set. # -u : Unset the specified option. -set -ag terminal-overrides ",xterm-256color:RGB" - -# Enable proper color support -set -as terminal-features ",*:RGB" +set -as terminal-features ",xterm-256color:RGB:clipboard:usstyle:strikethrough:overline" +set -s escape-time 0 # Address vim mode switching delay +set -s set-clipboard on # System clipboard via OSC 52 set -g default-terminal "tmux-256color" # Set default terminal to 256 colors set -g detach-on-destroy off # don't detach tmux when killing a session set -g display-time 0 # Hide clock set -g focus-events on # Focus events enabled for terminals that support them +set -g history-limit 50000 # Increase scrollback buffer size set -g mouse on # Mouse support set -g set-titles on # Allow tmux to set the terminal title set -g status on # Setting status on +set -g status-interval 5 # Refresh status more often set -g status-keys vi # vi keys to move between panes +set -wg aggressive-resize on # Better for grouped sessions and multi-monitor # Keep Tmux alive when the initial command is finished set -g remain-on-exit off