Can we use the zed command in a remote terminal to open a file in the current window? #32214
Replies: 7 comments 3 replies
-
|
I wanted to request the For context, VS Code does it like so:
When you run
Zed can take a similar approach, but instead of platform-specific shell scripts ( Even better, we can make Would be nice if someone from Zed can shed some lights on this. |
Beta Was this translation helpful? Give feedback.
-
|
I've wanted to support this with remote sessions for a while. Currently on local sessions, invoking the With Zed running on your laptop, we restrict to only a single process running (one process, one socket, many workspaces) but on the remote it much more complicated (many processes, no sockets, many workspaces). There are definitely ways this could be supported, for example, Zed could inject an alias into Zed Terminal sessions that makes sure that the Definitely something we'd like to support in the future, but it definitely needs some infrastructure work to get it all plumbed correctly. |
Beta Was this translation helpful? Give feedback.
-
|
Could ANSI escape sequences or OSC52 / clipboard be used here? Like if we could have a simple zed binary somehow on the path when in a terminal and then a hook in the alacritty to watch for a zed URL pattern? Just an idea |
Beta Was this translation helpful? Give feedback.
-
|
I've got some tasks i use a lot that rely on the zed cli and thus don't work in remote workspaces. This feature would be immensely useful! |
Beta Was this translation helpful? Give feedback.
-
|
I can totally support this. I am also working with a remote session and it would be quite handy to use zed as the editor for git commit messages, as described in https://zed.dev/docs/git#git-cli-configuration . This is currently not possible because zed command is not available for a remote terminal session. |
Beta Was this translation helpful? Give feedback.
-
|
This is definitely a great feature. I don't know if we have something like shell integration for zed or something. This would allow us to introduce command line aliases instead of pushing another new binary for the remote system. we could use the socket to send open and navigate commands from the terminal to the remote zed session |
Beta Was this translation helpful? Give feedback.
-
|
One use case is being able to run this "netrw"-like task on a remote machine to open a new pane on local GUI: |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
like vscode does
Beta Was this translation helpful? Give feedback.
All reactions