diff --git a/tmux/tmux.conf b/tmux/tmux.conf index 5555d75..3911dd3 100644 --- a/tmux/tmux.conf +++ b/tmux/tmux.conf @@ -189,7 +189,8 @@ bind-key -T copy-mode-vi A send-keys -X append-selection-and-cancel \;\ # Prefer iTerm style selection: select, then mouse click to copy to buffer unbind -T copy-mode-vi MouseDragEnd1Pane bind -T copy-mode-vi MouseDown1Pane select-pane \;\ - send-keys -X copy-pipe-and-cancel "$yank" + send-keys -X copy-pipe "$yank" \;\ + send-keys -X clear-selection # iTerm2 works with clipboard out of the box, set-clipboard already set to "external" # tmux show-options -g -s set-clipboard