feat(tmux): enable RGB for xterm terminals, push session name to the title, pin the TPM path

This commit is contained in:
David Ibia
2026-10-03 16:27:47 +01:00
parent 22fb434435
commit 3282358d9e
2 changed files with 9 additions and 2 deletions
+1 -1
View File
@@ -8,7 +8,7 @@
# =============================================================================
set -g mouse on
set-option -a terminal-features 'XXX:RGB'
set-option -a terminal-features 'xterm*:RGB'
set-option -sg escape-time 10
set-option -g focus-events on
set-window-option -g mode-keys vi
+8 -1
View File
@@ -1,6 +1,6 @@
set -g mouse on
bind r source-file ~/.tmux.conf
set-option -a terminal-features 'XXX:RGB'
set-option -a terminal-features 'xterm*:RGB'
set-option -sg escape-time 10
set-option -g focus-events on
set-window-option -g mode-keys vi
@@ -58,6 +58,13 @@ bind -r h resize-pane -L 5
# Setting up pane minimize/maximize with m
bind -r m resize-pane -Z
# Push tmux window/session info to the terminal title
set -g set-titles on
set -g set-titles-string "#{session_name}"
# Set plugin manager path before loading plugins
set-environment -g TMUX_PLUGIN_MANAGER_PATH "$HOME/.tmux/plugins"
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'