From 610b77ac722f995f3672232f2ac0e57db81730b9 Mon Sep 17 00:00:00 2001 From: Johannes Loher Date: Mon, 4 Jan 2021 17:53:44 +0100 Subject: [PATCH] tmux: copy to wl-copy --- .tmux.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.tmux.conf b/.tmux.conf index f1f6e43..9c0780d 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -21,7 +21,7 @@ bind -Tcopy-mode-vi MouseDragEnd1Pane send -X copy-selection-and-cancel\; run "t # Middle click to paste from the clipboard unbind-key MouseDown2Pane -bind-key -n MouseDown2Pane run "tmux set-buffer \"$(xclip -o -sel primary)\"; tmux paste-buffer" +bind-key -n MouseDown2Pane run "tmux set-buffer \"$(wl-copy --primary)\"; tmux paste-buffer" # Splitting bind-key h split-window -h