zed
zed copied to clipboard
Clipboard copy/paste only works within Zed's code editor (no system ↔ Zed file transfer)
Summary
Currently, the clipboard copy/paste functionality in Zed has the following limitations:
System to Zed:
Cannot paste files copied from the system (Finder/Explorer/etc.) into Zed via clipboard (Ctrl/Cmd+V)
Workaround: File drag-and-drop works
Zed to System:
Cannot copy files from Zed and paste them into system folders via clipboard
Expected Behavior:
Support cross-application file transfer via clipboard (both directions):
Copy file in system → Paste in Zed (as alternative to drag-and-drop)
Copy file in Zed → Paste in system file manager
Reproduction Steps:
Copy a file in system file manager (Ctrl+C / Cmd+C)
Try to paste in Zed (Ctrl+V / Cmd+V) → Fails
Copy a file in Zed's file tree
Try to paste in system file manager → Fails
Environment:
Zed version: [your version]
OS: MacOS, 15.4 Beta (24E5222f)
Additional Context: This would improve workflow efficiency, especially when working with frequent file transfers between Zed and other applications.
Zed Version and System Specs
Zed: v0.182.11 (Zed) OS: macOS 15.4.0 Memory: 16 GiB Architecture: aarch64
Also, cross-project copy & paste are not allowed in Zed. Hope this feature can be developed.
I have seen this problem as well. I cannot tel for sure when but within last two weeks. Linux kde xorg Debian Bookworm stable (new xanmod kernel LTS) 0.185.15 version
I checked the logs and nothing apperas in the log when I try to paste data.
I can however paste from ZED to other applications and from Zed to zed. Bot not from other applications to ZED
The only "suspicious" thing in log I see is: 2025-05-11T12:31:05+02:00 INFO [gpui::platform::linux::x11::window] ignoring macOS specific set_edited
I Have an update on that. It turns out that I cannot copy from some windows but I can copy from others. From example: Chrome -> Zed Works Firefox -> Zed Works Thunderbird -> Zed does not work
Kate -> Zed does not work Libreoffice -> Zed does not work KWrite -> Zed does not work
If anyone is looking at it or my testing will help let me know.
Copying files or directories from one project to another (both of which are opened with Zed) also doesn't work.
OS: macOS Sequoia 15.4.1 arm64 Host: MacBook Air (M1, 2020) 8GB (also MacBook Pro M1 16GB) Kernel: Darwin 24.4.0
I think my issue got resolved somehow.
Copying from external app to Zed: Works ✅
Copying from Zed (select text > right click > copy) to external app or even inside Zed: Does not work ❌
Just baffling. Latest version of Zed, installed from tarball. Fedora 42 with KDE Plasma 6.3.5 desktop environment, Wayland session.
Bump comment.
The only thing stopping me from using ZED exclusively is this issue. I work on several similar projects at the same time. I'm struggling with the lack of functionality to copy/paste files/directories from one project to another.
Copying from external app to Zed: Works ✅ Copying from Zed (select text > right click > copy) to external app or even inside Zed: Does not work ❌ Just baffling. Latest version of Zed, installed from tarball. Fedora 42 with KDE Plasma 6.3.5 desktop environment, Wayland session.
On which platform? I do not have problems with copy-and-paste under macOS. People that report bugs should always mention their configuration.
Maybe re-read the comment you have quoted?
Copying from external app to Zed: Works ✅ Copying from Zed (select text > right click > copy) to external app or even inside Zed: Does not work ❌ Just baffling. Latest version of Zed, installed from tarball. Fedora 42 with KDE Plasma 6.3.5 desktop environment, Wayland session.
On which platform? I do not have problems with copy-and-paste under macOS. People that report bugs should always mention their configuration.
Maybe re-read the comment you have quoted?
Sorry, must've been asleep when I wrote. My apologies!
Expectedly, this does also not work for remote servers.
It would be nice to allow Zed to copy to and from a remote development server instead of needing to ssh files over manually if required.