Split Place command key-binding ignore current profile and open default profile #19712

Closed
opened 2026-01-31 06:51:33 +00:00 by claunia · 2 comments
Owner

Originally created by @sarvex on GitHub (Apr 13, 2023).

Windows Terminal version

1.17.1023

Windows build number

10.0.22621.0

Other Software

No response

Steps to reproduce

  • Open Windows Terminal in non-default Profile such as VS Command Prompt
  • Hit <Shift-Alt-+> a new terminal pane is opened on right
  • The new split is opened in Default Profile
  • However if I right click on tab and select "Split Tab" the split pane is opened in the current profile

Expected Behavior

<Shift-Alt-+> a new terminal pane is opened on right with the Current Profile

Actual Behavior

<Shift-Alt-+> a new terminal pane is opened on right with the Default Profile

Originally created by @sarvex on GitHub (Apr 13, 2023). ### Windows Terminal version 1.17.1023 ### Windows build number 10.0.22621.0 ### Other Software _No response_ ### Steps to reproduce - Open Windows Terminal in non-default Profile such as VS Command Prompt - Hit <Shift-Alt-+> a new terminal pane is opened on right - The new split is opened in **Default Profile** - However if I right click on tab and select "Split Tab" the split pane is opened in the current profile ### Expected Behavior <Shift-Alt-+> a new terminal pane is opened on right with the **Current Profile** ### Actual Behavior <Shift-Alt-+> a new terminal pane is opened on right with the **Default Profile**
claunia added the Issue-QuestionNeeds-TriageIssue-BugResolution-Answered labels 2026-01-31 06:51:34 +00:00
Author
Owner

@zadjii-msft commented on GitHub (Apr 13, 2023):

Yep, the splitPane action has another arg for behaving in the duplicating way which the default keybindings don't have. You can add "splitMode":"duplicate" to the actions to get that behavior, like so:

{ "command": { "action": "splitPane", "split": "down", "splitMode":"duplicate" }, "keys": "alt+shift+-" },
{ "command": { "action": "splitPane", "split": "right", "splitMode":"duplicate" }, "keys": "alt+shift+plus" },

We probably won't be able to change this though, as we've shipped that keybinding without the duplicate for a few years now, and we don't want to break everyone who does like it opening the default profile.

Thanks!

@zadjii-msft commented on GitHub (Apr 13, 2023): Yep, the `splitPane` action has another arg for behaving in the duplicating way which the default keybindings don't have. You can add `"splitMode":"duplicate"` to the actions to get that behavior, like so: ```jsonc { "command": { "action": "splitPane", "split": "down", "splitMode":"duplicate" }, "keys": "alt+shift+-" }, { "command": { "action": "splitPane", "split": "right", "splitMode":"duplicate" }, "keys": "alt+shift+plus" }, ``` We probably won't be able to change this though, as we've shipped that keybinding without the duplicate for a few years now, and we don't want to break everyone who _does_ like it opening the default profile. Thanks!
Author
Owner

@sarvex commented on GitHub (Apr 13, 2023):

Then a better option will be to add update the default settings.json file. And there is no way a bug fix can break expectations.

If people love Default Profile then the behaviour should be same in the UI menu options as well. Currently there is no way to duplicate Default Profile using the mouse.

A bug is a bug, not a feature in disguise, there will be no love lost for having a consistent behaviour in UI and KeyBindings

@sarvex commented on GitHub (Apr 13, 2023): Then a better option will be to add update the default settings.json file. And there is no way a bug fix can break expectations. If people love **Default Profile** then the behaviour should be same in the UI menu options as well. Currently there is no way to duplicate **Default Profile** using the mouse. A bug is a bug, not a feature in disguise, there will be no love lost for having a consistent behaviour in UI and KeyBindings
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#19712