diff --git a/.tmux.conf b/.config/tmux/tmux.conf similarity index 82% rename from .tmux.conf rename to .config/tmux/tmux.conf index ecf016d..e8f3cbc 100644 --- a/.tmux.conf +++ b/.config/tmux/tmux.conf @@ -17,9 +17,8 @@ set -g mouse on # Lower escape timing from 500ms to 100ms for quicker response to scroll-buffer access. set -s escape-time 100 -# Selection with mouse should copy to clipboard right away, in addition to the default action. -unbind -n -Tcopy-mode-vi MouseDragEnd1Pane -bind -Tcopy-mode-vi MouseDragEnd1Pane send -X copy-selection-and-cancel\; run "tmux save-buffer - | wl-copy --primary" +# Copy to the primary clipboard +set -s copy-command 'wl-copy --primary' # Middle click to paste from the clipboard unbind-key MouseDown2Pane