diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf index 581958f..aab46b1 100644 --- a/tmux/.tmux.conf +++ b/tmux/.tmux.conf @@ -72,7 +72,7 @@ unbind [ bind Escape copy-mode bind-key -T copy-mode-vi 'v' send -X begin-selection # Begin selection in copy mode. bind-key -T copy-mode-vi 'C-v' send -X rectangle-toggle # Begin selection in copy mode. -bind-key -T copy-mode-vi 'y' send -X copy-selection # Yank selection in copy mode. +bind-key -T copy-mode-vi 'y' send -X copy-pipe-and-cancel "wl-copy" # Yank selection in copy mode. set -g mouse on bind -T root WheelUpPane if-shell -F -t = "#{alternate_on}" "send-keys -M" "select-pane -t =; copy-mode -e; send-keys -M"