Commit Graph
5 Commits
Author SHA1 Message Date
Ryan Hughes 0022e278c6 Respect tmux clipboard policy and preserve empty reads 2026-09-13 19:48:41 -04:00
David Heinemeier Hansson c095aa4ccc Keep remote clipboard paste fast and cover provider transports 2026-09-13 17:46:10 +02:00
David Heinemeier Hansson db5f3791c5 Enable automatic clipboard yanks with the remote provider 2026-09-12 16:48:59 +02:00
David Heinemeier HanssonandClaude Fable 5 b4e9935951 Simplify remote clipboard and share Neovim yanks over OSC 52 inside tmux
Sessions inside tmux used to skip the clipboard provider entirely, so
yanks only reached the machine's own Wayland clipboard and never
traveled over OSC 52 to clients attached via SSH. Now every copy also
emits OSC 52, which tmux turns into a buffer and rebroadcasts to all
attached clients. Paste prefers wl-paste when a display is available.

This also drops the private-file fallback clipboard and its regtype
sidecar: Neovim's built-in clipboard layer already restores the register
type when pasted content matches its cache, and OSC 52 queries answered
by tmux cover the display-less paste case.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-15 10:39:30 -07:00
Ryan Hughes 78e5cc8195 Add remote clipboard fix 2026-06-20 15:42:10 -04:00