update tmux

This commit is contained in:
Jason Swank
2026-06-30 08:20:04 -04:00
parent bb66170c74
commit 3e76fa9129

View File

@@ -9,8 +9,9 @@ setw -g mode-keys vi
# VI-style copy & paste
unbind [
bind Escape copy-mode
#bind-key -t vi-copy 'v' begin-selection
#bind-key -t vi-copy 'y' copy-selection
bind -T copy-mode-vi v send-keys -X begin-selection
bind -T copy-mode-vi y send-keys -X copy-selection-and-cancel
bind -T copy-mode-vi C-v send-keys -X rectangle-toggle
# remove SSH_AUTH_SOCK from update-environment, otherwise setting it specifically doesn't work
set-option -g update-environment "PATH DISPLAY LANG LC_ALL SSH_ASKPASS SSH_AGENT_PID SSH_CONNECTION WINDOWID XAUTHORITY"
@@ -19,5 +20,10 @@ set-environment -g SSH_AUTH_SOCK $HOME/.ssh/ssh_auth_sock
set -g escape-time 10
# maybe?
set -g default-terminal "tmux-256color"
set -ga terminal-overrides ",xterm-256color:Tc"
set-option -g set-clipboard external
# Status bar styling (dark gray background, white text)
# set -g status-style bg=colour236,fg=white