From fd65dc3aad0a715553badd0b3e9b67644478eb89 Mon Sep 17 00:00:00 2001 From: Chun Li Date: Fri, 6 Mar 2026 23:46:42 -0800 Subject: [PATCH] Update tmux colors and make copy paste work on wayland. --- tmux/dot-tmux.conf | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tmux/dot-tmux.conf b/tmux/dot-tmux.conf index 2d753ad..a913e5a 100644 --- a/tmux/dot-tmux.conf +++ b/tmux/dot-tmux.conf @@ -43,12 +43,14 @@ bind-key R source-file ~/.tmux.conf \; display-message "tmux.conf reloaded." bind-key [ copy-mode bind-key ] paste-buffer +bind-key -T copy-mode-vi Enter send-keys -X copy-pipe-and-cancel 'wl-copy --foreground' +bind-key -T copy-mode-vi v send-keys -X begin-selection # Status Bar set-option -g status-interval 1 set-option -g status-left '' set-option -g status-right '%H:%M ' -set -g window-status-current-style 'fg=brightwhite,bg=blue' +set -g window-status-current-style 'fg=black,bg=blue' # Set window notifications setw -g monitor-activity on @@ -61,6 +63,7 @@ set-option -g repeat-time 0 set -g @plugin 'tmux-plugins/tpm' set -g @plugin 'tmux-plugins/tmux-sensible' set -g @plugin 'tmux-plugins/tmux-yank' +set -g @override_copy_command "wl-copy --foreground" # default to wayland # Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf) run '~/.tmux/plugins/tpm/tpm'