diff --git a/crates/ferrite-core/src/buffer.rs b/crates/ferrite-core/src/buffer.rs index 7a8e8c2..9d3e356 100644 --- a/crates/ferrite-core/src/buffer.rs +++ b/crates/ferrite-core/src/buffer.rs @@ -1186,6 +1186,8 @@ impl Buffer { } else { self.rope.byte_slice(start..end).to_string() }; + #[cfg(target_os = "linux")] + clipboard::set_primary(copied.clone()); clipboard::set_contents(copied); }