Close tab/window upon opening file #829
-
Thanks so much for this project; this is really impressive! I'm trying to approximate a workflow similar to vim's netrw and almost there with Yazi in Zed. From within a pane I have a keybinding that opens a new Zed tab/terminal with Yazi at the current file's location. I can then open a file from Yazi and that file opens a new tab with the file in Zed. This is all perfect except that the tab that contains Yazi is now still open. In practice I end up with a bunch of extra tabs with Yazi open at various places and have to continually cleanup. What I'd like is that when I open a file from Yazi that it then is able to close that tab with Yazi (not just exit Yazi, but close the tab it's within). That would be |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
Hi, I'm not familiar with Zed. I'd like to know how you integrated Yazi with it (if I understand correctly), like by starting Yazi through |
Beta Was this translation helpful? Give feedback.
Try this:
You may need to adjust the command parameters for
zed
.