chore(tmux): fix terminal-features and tidy config

Correct the terminal-feature typo to terminal-features, add kitty extkeys, and remove now-redundant comments.
This commit is contained in:
2026-09-29 14:29:59 -04:00
parent 7911b79b89
commit b9d807a78d
+4 -12
View File
@@ -1,8 +1,9 @@
# set-option -g default-terminal 'screen-256color'
# set-option -g terminal-overrides ',xterm-256color:RGB'
set -g default-terminal "tmux-256color"
set -as terminal-feature ",*:RGB"
set -as terminal-feature ",*:clipboard"
set -ag terminal-overrides ",*:RGB"
set -as terminal-features ",*:clipboard"
set -ag terminal-features "xterm-kitty:extkeys"
# set -ag terminal-overrides ",*:Tc"
# set -as terminal-overrides ',*:Smulx=\E[4::%p1%dm'
@@ -10,30 +11,23 @@ set -as terminal-feature ",*:clipboard"
# allow terminal scrolling
# set -g terminal-overrides 'xterm*:smcup@:rmcup@'
# Force tmux to use the static symlink path globally
setenv -g SSH_AUTH_SOCK "$HOME/.ssh/ssh_auth_sock"
set -g update-environment "DISPLAY XAUTHORITY"
set -g mouse on
# auto rename windows
# set -g automatic-rename on
# set -g automatic-rename-format '#{pane_current_command} #{b:pane_current_path}'
set -g allow-rename on
# start with window 1 (instead of 0)
set -g base-index 1
# start with pane 1
setw -g pane-base-index 1
# history
set -g history-limit 5000
set -g display-time 4000
set -g status-interval 5
# loud or quiet?
set -g visual-activity off
set -g visual-bell off
set -g visual-silence off
@@ -41,8 +35,6 @@ set -g monitor-activity on
set -g bell-action none
set -g allow-passthrough on
#set -g bell-on-alert on
set -s escape-time 0
setw -g aggressive-resize on
set -g status-keys vi
@@ -50,7 +42,7 @@ set-window-option -g mode-keys vi
set -g extended-keys on
set -g extended-keys-format csi-u
set-option -g focus-events on # TODO: learn how this works
set-option -g focus-events on
set-option -g set-titles on
set-option -g detach-on-destroy off
set-option -g renumber-windows on