commit 66dc98c747494efe01d05d7e1dd721e36c8d4996 (patch)
parent 011716ed0884c9ec7a4214f713022df08e0a82a9
Author: Alex Karle <alex@alexkarle.com>
Date: Tue, 22 Feb 2022 10:02:23 -0500
tmux: Use xclip(1) instead of xterm(1) clipboard escapes
I have xclip(1) installed on all my systems, and st(1) doesn't seem to
support the xterm(1) clipboard escape sequences that tmux is trying to
use by default! This patch disables the escape sequences and uses xclip
instead!
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/.tmux.conf b/.tmux.conf
@@ -2,6 +2,8 @@
set-option -g history-limit 10000
set-option -g mode-keys vi
set-option -g mouse on
+set-option -g set-clipboard off
+set-option -g copy-command 'xclip -in -selection clipboard'
# better prefix
set-option -g prefix C-a