From b2fd66bb71366684e87db947c416aab19b0050f4 Mon Sep 17 00:00:00 2001 From: afranco Date: Tue, 17 Mar 2026 17:37:16 +0000 Subject: [PATCH] feat(tmux): Add clipboard and other overrides --- .config/tmux/tmux.conf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf index 4980bd4..5be47f8 100644 --- a/.config/tmux/tmux.conf +++ b/.config/tmux/tmux.conf @@ -2,8 +2,9 @@ # General set -g default-terminal "tmux-256color" -set -ag terminal-overrides ",$TERM:Tc" -set -sa terminal-features ",*:RGB" +#set -ga terminal-features ",$TERM:RGB" +set -ga terminal-features ",$TERM:256:RGB:clipboard:extkeys:focus:hyperlinks:sync:osc7:overline:strikethrough:usstyle" +set -g set-clipboard on set -g allow-passthrough on set -g visual-activity off set -sg escape-time 0 @@ -12,7 +13,6 @@ set -g base-index 1 set -g pane-base-index 1 set -g detach-on-destroy off set -g history-limit 250000 -set -g set-clipboard on set -g renumber-windows on setw -g mode-keys vi @@ -73,7 +73,7 @@ bind-key 'g' display-popup -d '#{pane_current_path}' -E -w 100% -h 100% "lazygit # Copy mode bind -T copy-mode-vi v send -X begin-selection -bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel "pbcopy" +bind -T copy-mode-vi y send-keys -X copy-selection-and-cancel bind P paste-buffer # Copy mode mouse unbind-key -T copy-mode-vi MouseDragEnd1Pane