From 4c5b559757d443fa5cbfbfd8cbd477238e00c761 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Uruba?= Date: Mon, 11 May 2026 21:30:34 +0200 Subject: [PATCH] tmux: Copy to clipboard when copying text from scrollback --- tmux/.tmux.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf index 9879795..ee0f018 100644 --- a/tmux/.tmux.conf +++ b/tmux/.tmux.conf @@ -32,6 +32,8 @@ setw -g window-status-bell-style 'fg=#{@orange} bg=#{@red} bold' setw -g mode-keys vi # set -g mouse on +bind-key -T copy-mode-vi Enter send-keys -X copy-pipe-and-cancel "xclip -selection clipboard -in" + # Detached sessions set -g destroy-unattached on