Be able to specify a particular profile for splitMode in splitPane action #21085

Closed
opened 2026-01-31 07:32:42 +00:00 by claunia · 2 comments
Owner

Originally created by @StevenBucher98 on GitHub (Jan 9, 2024).

Description of the new feature/enhancement

It would be really helpful to be able to specify a particular profile or command line executable to run with the splitMode option for an action to split the pane. The scenario being that I want to open up a side pane that runs a particular command or shell by hitting a key binding.

Proposed technical implementation details (optional)

The preferred option would be to specify a specific executable to open in the new pane, something like:

{ "command": { "action": "splitPane", "split": "auto", "cmdline": "<mypath>/pwsh.exe" }, "keys": "alt+shift+d" },

Alternatively it would be nice to specify the profile which then specifies the specific command name:

{ "command": { "action": "splitPane", "split": "auto", "profile":<Name of Profile> }, "keys": "alt+shift+d" },
Originally created by @StevenBucher98 on GitHub (Jan 9, 2024). <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 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 It would be really helpful to be able to specify a particular profile or command line executable to run with the `splitMode` option for an action to split the pane. The scenario being that I want to open up a side pane that runs a particular command or shell by hitting a key binding. # Proposed technical implementation details (optional) The preferred option would be to specify a specific executable to open in the new pane, something like: ```json { "command": { "action": "splitPane", "split": "auto", "cmdline": "<mypath>/pwsh.exe" }, "keys": "alt+shift+d" }, ``` Alternatively it would be nice to specify the profile which then specifies the specific command name: ```json { "command": { "action": "splitPane", "split": "auto", "profile":<Name of Profile> }, "keys": "alt+shift+d" }, ```
claunia added the Issue-FeatureNeeds-TriageNeeds-Tag-Fix labels 2026-01-31 07:32:43 +00:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 9, 2024):

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@github-actions[bot] commented on GitHub (Jan 9, 2024): Hi I'm an AI powered bot that finds similar issues based off the issue title. Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you! ### Closed similar issues: - [Splitpane not accepting the Profile or index values (#5603)](https://github.com/microsoft/terminal/issues/5603), similarity score: 0.76 > Note: You can give me feedback by thumbs upping or thumbs downing this comment.
Author
Owner

@StevenBucher98 commented on GitHub (Jan 9, 2024):

Should've tested these cases out before submitted 🙃...they work, closing this issue.

@StevenBucher98 commented on GitHub (Jan 9, 2024): Should've tested these cases out before submitted 🙃...they work, closing this issue.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#21085