zed-industries / zed

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
https://zed.dev
Other
49.72k stars 3.06k forks source link

Request: ctrl-click to open tabs new ephemeral panes, click to return to single pane (like Sublime Text) #20117

Open AndydeCleyre opened 1 week ago

AndydeCleyre commented 1 week ago

Check for existing issues

Describe the feature

Hello, and thanks for this excellent project!

I'm one of those optimistically trying to switch from Sublime Text, and this is one of the things I'm hoping for, for which I don't see an existing issue.

Currently when I have two or more tabs open, with only one pane, and I want to open one or more unfocused existing tabs in new panes, for each one I:

In Sublime Text, I:

So I'm requesting a similar workflow possibility, wherein I can directly choose an existing tab to be opened in a new pane, and directly close all secondary panes, without losing any open tabs.

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

https://github.com/user-attachments/assets/45b13884-54dd-4b2b-b485-dee651c76c01

AndydeCleyre commented 1 week ago

I'll note for bonus points that in Sublime, if I don't click a tab but instead use ctrl-tab to switch between them, the split is preserved and treated as a single "super tab" -- I'm rotating between open individual tabs as single-pane views and the multiple-tab split-pane view as if it were a tab itself:

https://github.com/user-attachments/assets/9480c04a-90d2-483b-9998-6ec1e21df151