From 70f5e46860136a5c8d8c8b9bdeeecb7763fec080 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Sun, 12 Feb 2023 12:03:10 +0000 Subject: [PATCH] home: tmux: fix OSC52 forwarding I want neovim to be able to set my clipboard, and don't care for the potential security issues of letting any program be able to do such a thing. --- home/tmux/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/home/tmux/default.nix b/home/tmux/default.nix index f9b711c..4dbe7f7 100644 --- a/home/tmux/default.nix +++ b/home/tmux/default.nix @@ -57,6 +57,9 @@ in } # Block selection in vim mode bind-key -Tcopy-mode-vi 'C-v' send -X begin-selection \; send -X rectangle-toggle + + # Allow any application to send OSC52 escapes to set the clipboard + set -s set-clipboard on ''; }; }