From 3e76fa9129ade488168d72fa76ab9625cf3ec008 Mon Sep 17 00:00:00 2001 From: Jason Swank <632526+jswank@users.noreply.github.com> Date: Tue, 30 Jun 2026 08:20:04 -0400 Subject: [PATCH] update tmux --- tmux/.config/tmux/tmux.conf | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/tmux/.config/tmux/tmux.conf b/tmux/.config/tmux/tmux.conf index 53db6bf..977d98b 100644 --- a/tmux/.config/tmux/tmux.conf +++ b/tmux/.config/tmux/tmux.conf @@ -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