Use the currently opened tab as the default layout for the next startup #11894

Closed
opened 2026-01-31 03:00:25 +00:00 by claunia · 3 comments
Owner

Originally created by @xianghongai on GitHub (Dec 28, 2020).

Description of the new feature/enhancement

I want to use the currently opened tab as the default layout for each startup.

Windows Terminal

Proposed technical implementation details (optional)

There can be a quick way to save the layout of all currently opened tabs and the directories entered.

Originally created by @xianghongai on GitHub (Dec 28, 2020). <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING: 1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement. 2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement. 3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number). 4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement. 5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement. All good? Then proceed! --> # Description of the new feature/enhancement I want to use the currently opened tab as the default layout for each startup. ![Windows Terminal](https://user-images.githubusercontent.com/2075006/103185140-0e0fc000-48f6-11eb-97ef-cda4e2990a34.png) <!-- A clear and concise description of what the problem is that the new feature would solve. Describe why and how a user would use this new functionality (if applicable). --> # Proposed technical implementation details (optional) There can be a quick way to save the layout of all currently opened tabs and the directories entered. <!-- A clear and concise description of what you want to happen. -->
claunia added the Issue-FeatureResolution-Duplicate labels 2026-01-31 03:00:25 +00:00
Author
Owner

@skyline75489 commented on GitHub (Dec 28, 2020):

I think this is covered or partially covered by #961 .

@skyline75489 commented on GitHub (Dec 28, 2020): I think this is covered or partially covered by #961 .
Author
Owner

@zadjii-msft commented on GitHub (Jan 8, 2021):

Yea, this is gonna be something like #961 or even #756. Right now you can kinda workaround this by creating an action that will open the layout you want. For example, I use the following as the action I tun in the first terminal of the day:

{ "command": { "action": "wt", "commandline": "new-tab --title OpenConsole ; split-pane --title OpenConsole ; split-pane -H cmd.exe /k media-commandline ; new-tab --title \"Symbols Script\" powershell dev\\symbols.ps1 ; new-tab -p \"Ubuntu 18.04\" ; new-tab -p \"microsoft/Terminal\" ; sp -V -p \"microsoft/Terminal\" ; sp -H -p \"microsoft/Terminal\" ; focus-tab -t 0" }, "name": "Good Morning" },

That creates 4 tabs, running a few different environments, and some splits inside them.

/dup #756

@zadjii-msft commented on GitHub (Jan 8, 2021): Yea, this is gonna be something like #961 or even #756. Right now you can kinda workaround this by creating an action that will open the layout you want. For example, I use the following as the action I tun in the first terminal of the day: ```jsonc { "command": { "action": "wt", "commandline": "new-tab --title OpenConsole ; split-pane --title OpenConsole ; split-pane -H cmd.exe /k media-commandline ; new-tab --title \"Symbols Script\" powershell dev\\symbols.ps1 ; new-tab -p \"Ubuntu 18.04\" ; new-tab -p \"microsoft/Terminal\" ; sp -V -p \"microsoft/Terminal\" ; sp -H -p \"microsoft/Terminal\" ; focus-tab -t 0" }, "name": "Good Morning" }, ``` That creates 4 tabs, running a few different environments, and some splits inside them. /dup #756
Author
Owner

@ghost commented on GitHub (Jan 8, 2021):

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@ghost commented on GitHub (Jan 8, 2021): Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#11894