From 963137133675e24ea081c76643a21d0563878545 Mon Sep 17 00:00:00 2001 From: Zoe Roux Date: Thu, 6 Mar 2025 11:12:30 +0100 Subject: [PATCH] Fix tmux copy mode not copying --- modules/cli/tools/tmux.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/cli/tools/tmux.nix b/modules/cli/tools/tmux.nix index d5fafc3..13f9e64 100644 --- a/modules/cli/tools/tmux.nix +++ b/modules/cli/tools/tmux.nix @@ -35,8 +35,9 @@ bind-key -T copy-mode-vi i send -X cancel bind-key -T copy-mode-vi v send -X begin-selection bind-key -T copy-mode-vi V send -X select-line - bind-key -T copy-mode-vi y send -X copy-selection -x - bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-selection -x + bind-key -T copy-mode-vi y send -X copy-selection -- -x + bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-selection -- -x + bind-key -T copy-mode-vi Y send -X copy-end-of-line -- -x bind-key -T copy-mode-vi p { refresh-client -l; run -d0.05; paste-buffer; send -X cancel } bind-key [ copy-mode \; send-keys -X previous-prompt