Customize default panes layout when launch terminal #6281

Closed
opened 2026-01-31 00:34:37 +00:00 by claunia · 2 comments
Owner

Originally created by @delmohf on GitHub (Feb 4, 2020).

I want to launch the terminal with two vertical panes by default. Is there a way to do this?

Idea:

I already have a command to add a vertical pane:

{ "command": { "action": "splitPane", "split": "vertical"}, "keys": ["ctrl+t"]}

so it would be enough adding a way to "execute" commands automatically on terminal startup.

Originally created by @delmohf on GitHub (Feb 4, 2020). I want to launch the terminal with two vertical panes by default. Is there a way to do this? Idea: I already have a command to add a vertical pane: `{ "command": { "action": "splitPane", "split": "vertical"}, "keys": ["ctrl+t"]}` so it would be enough adding a way to "execute" commands automatically on terminal startup.
claunia added the Issue-FeatureResolution-Duplicate labels 2026-01-31 00:34:37 +00:00
Author
Owner

@zadjii-msft commented on GitHub (Feb 5, 2020):

Hey wadda you know, this is something I considered when writing the Commandline Args Spec.

In the past we've had requests (like #756) for having the terminal start with multiple tabs/panes by default. This might be a path to enabling that scenario. One could imagine the profiles.json file including a defaultConfiguration property, with a path to a .conf file filled with commands. We'd parse that file on window creation just the same as if it was parsed on the commandline. If the user provides a file on the commandline, we'll just ignore that value from profiles.json.

Okay maybe that text is a little out of date, but the point stands. This is something that's largely going to be tracked by /dup #756, so I'll redirect discussion to that thread.

@zadjii-msft commented on GitHub (Feb 5, 2020): Hey wadda you know, this is something I considered when writing the [Commandline Args Spec](https://github.com/microsoft/terminal/blob/master/doc/specs/%23607%20-%20Commandline%20Arguments%20for%20the%20Windows%20Terminal.md). > In the past we've had requests (like #756) for having the terminal start with multiple tabs/panes by default. This might be a path to enabling that scenario. One could imagine the profiles.json file including a defaultConfiguration property, with a path to a .conf file filled with commands. We'd parse that file on window creation just the same as if it was parsed on the commandline. If the user provides a file on the commandline, we'll just ignore that value from profiles.json. Okay maybe that text is a little out of date, but the point stands. This is something that's largely going to be tracked by /dup #756, so I'll redirect discussion to that thread.
Author
Owner

@ghost commented on GitHub (Feb 5, 2020):

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 (Feb 5, 2020): 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#6281