-
Notifications
You must be signed in to change notification settings - Fork 8.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Suggestion: Open a new terminal window with a collection of preconfigured tabs #8989
Comments
Use the wt arguments. There is enhancement request to specify color names but colors are supported. See the docs: https://docs.microsoft.com/en-us/windows/terminal/command-line-arguments?tabs=windows. Also, the docs are listed in the README. I highly advise looking through them before filing a feature request in the future. |
Thanks for the useful information but I think the response is unnecessarily snarky :-( If you read my feature request in full you will see that I am suggesting that the current configuration could be saved automatically via a menu item or context action. That clearly is not provided today so I think that would be classed as a "new feature request".... |
So for reference, I like to do like the following each time I boot up the Terminal in the morning: { "command": { "action": "wt", "commandline": "new-tab --title OpenConsole cmd.exe /k #work 15 ; split-pane -s .30 --title OpenConsole cmd.exe /k #work 15 ; split-pane -s .25 -H cmd.exe /k media ; 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" },
(you could probably make it shorter by replacing I add that to the As far as automatically saving the last window state, we've got #960, #961, #766. #766 is probably the one that most closely mirrors your ask. I'd also check out #756, though that kinda just turned into /dup #766 |
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! |
Nice - thanks Mike. I agree that #766 covers it. |
Motivation:
If I perform a common task involving multiple tabs, I usually spend some time to color and name the tabs to make it it obvious which tab is which. For example.
It would be convenient if I could store this particular configuration the next day and recall it.
From a user-perspective something like:--
Next day...
At a minimum the "collection/configuration" should recreate the number and types of tabs + header colors and names. It would be desirable if additional context for each tab could be maintained (cwd, buffer history, other?)
I'm pretty sure I can do most of this stuff already by writing some dedicated scripts - maybe a cheap implementation of this would be for the "config file" just to be a script that performs the required operations when the shell starts up?
The text was updated successfully, but these errors were encountered: