From 54f335d9849e09a1a027ec8cd7433b99329785dd Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Mon, 20 Feb 2023 11:10:35 +0000 Subject: [PATCH] home: tmux: always use tmux-yank This plugin does have some useful binds. Since it still sends the OSC52 escape sequence when copying, I don't have a problem with remote hosts. --- home/tmux/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/home/tmux/default.nix b/home/tmux/default.nix index 4dbe7f7..15becfb 100644 --- a/home/tmux/default.nix +++ b/home/tmux/default.nix @@ -24,7 +24,7 @@ in pain-control # Better session management sessionist - (lib.optionalAttrs hasGUI { + { # X clipboard integration plugin = yank; extraConfig = '' @@ -33,7 +33,7 @@ in # Stay in copy mode after yanking set -g @yank_action 'copy-pipe' ''; - }) + } { # Show when prefix has been pressed plugin = prefix-highlight;