zed icon indicating copy to clipboard operation
zed copied to clipboard

Reopen last file, even in a separate pane

Open daturkel opened this issue 10 months ago • 2 comments

Check for existing issues

  • [x] Completed

Describe the feature

Currently, there's "pane::ReopenClosedItem", which will reopen the last file in my current pane. However, if I have two panes side by side and I close one of them, there's no way to reopen the closed file. I'd love to be able to have a command which reopens the last file, regardless of what pane it's in. This is similar, but not quite the same as, #16378, which is about reopening files in separate workspaces.

Zed Version and System Specs

Zed: v0.170.2 (Zed) OS: macOS 15.2.0 Memory: 24 GiB Architecture: aarch64

If applicable, add mockups / screenshots to help present your vision of the feature

No response

daturkel avatar Jan 26 '25 23:01 daturkel

I agree this would be useful! In fact, I think we should copy Safari's behavior, and make cmd-shift-t work across panes within the workspace.

If you'd like to pair with me on this https://cal.com/conradirwin/pairing

ConradIrwin avatar Jan 28 '25 06:01 ConradIrwin

I agree this would be useful! In fact, I think we should copy Safari's behavior, and make cmd-shift-t work across panes within the workspace.

If you'd like to pair with me on this https://cal.com/conradirwin/pairing

Sadly my rust skills are extremely rudimentary so I'm not sure I'd be of much help :/

daturkel avatar Jan 28 '25 15:01 daturkel

Hi there! 👋 We're working to clean up our issue tracker by closing older bugs that might not be relevant anymore. If you are able to reproduce this issue in the latest version of Zed, please let us know by commenting on this issue, and it will be kept open. If you can't reproduce it, feel free to close the issue yourself. Otherwise, it will close automatically in 14 days. Thanks for your help!

github-actions[bot] avatar Nov 19 '25 09:11 github-actions[bot]