mirror of
https://github.com/boxpositron/absolute-dotfiles.git
synced 2026-10-24 08:23:19 +00:00
feat(tmux): enable RGB for xterm terminals, push session name to the title, pin the TPM path
This commit is contained in:
+1
-1
@@ -8,7 +8,7 @@
|
|||||||
# =============================================================================
|
# =============================================================================
|
||||||
|
|
||||||
set -g mouse on
|
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 -sg escape-time 10
|
||||||
set-option -g focus-events on
|
set-option -g focus-events on
|
||||||
set-window-option -g mode-keys vi
|
set-window-option -g mode-keys vi
|
||||||
|
|||||||
+8
-1
@@ -1,6 +1,6 @@
|
|||||||
set -g mouse on
|
set -g mouse on
|
||||||
bind r source-file ~/.tmux.conf
|
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 -sg escape-time 10
|
||||||
set-option -g focus-events on
|
set-option -g focus-events on
|
||||||
set-window-option -g mode-keys vi
|
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
|
# Setting up pane minimize/maximize with m
|
||||||
bind -r m resize-pane -Z
|
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
|
# List of plugins
|
||||||
set -g @plugin 'tmux-plugins/tpm'
|
set -g @plugin 'tmux-plugins/tpm'
|
||||||
set -g @plugin 'tmux-plugins/tmux-sensible'
|
set -g @plugin 'tmux-plugins/tmux-sensible'
|
||||||
|
|||||||
Reference in New Issue
Block a user