From 8bc4edfc75558ffca5fd3fd7e8f390fd633811b8 Mon Sep 17 00:00:00 2001 From: Sebastian Bugge Date: Tue, 29 Jul 2025 23:30:21 +0200 Subject: [PATCH] Add clipboard support for remote development. --- .tmux.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.tmux.conf b/.tmux.conf index 332cc7a..3f76dcc 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -3,6 +3,10 @@ unbind C-b set-option -g prefix C-a bind-key C-a send-prefix +# Enable OSC 52 clipboard forwarding +set -g set-clipboard on +set -ag terminal-overrides ',*:Ms=\E]52;c;%p2%s\7' + # Suggestions from nvim: set-option -sg escape-time 10 set-option -g focus-event on