diff --git a/.tmux.conf b/.tmux.conf index 18263e0..5389111 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -93,7 +93,7 @@ set -sg escape-time 0 bind-key -T copy-mode-vi Home send -X start-of-line bind-key -T copy-mode-vi End send -X end-of-line # Sync copy mode and PRIMARY selection -bind-key -T copy-mode-vi MouseDragEnd1Pane send -X copy-pipe "xsel -i -p -b" -bind-key -T copy-mode-vi Enter send -X copy-pipe "xsel -i -p -b" -bind-key -T copy-mode-vi y send -X copy-pipe "xsel -i -p -b" +bind-key -T copy-mode-vi MouseDragEnd1Pane send -X copy-pipe-and-cancel "xsel -i -p -b" +bind-key -T copy-mode-vi Enter send -X copy-pipe-and-cancel "xsel -i -p -b" +bind-key -T copy-mode-vi y send -X copy-pipe-and-cancel "xsel -i -p -b"