Split pane is not working #5451

Closed
opened 2026-01-31 00:13:42 +00:00 by claunia · 10 comments
Owner

Originally created by @kumarom on GitHub (Dec 7, 2019).

Environment

Windows build number: Microsoft Windows [Version 10.0.18363.476] Professional Edition
Windows Terminal version (if applicable): Version: 0.7.3382.0

Any other software?

Steps to reproduce

I have two tabs open (1st cmd, 2nd wsl1 Ubuntu) and I wanted to have split pane. So I focused on wsl1 and then pressed ALT + SHIFT + - or ALT + SHIFT + '+'. But there was no change.

Then I closed all tabs. Changed key bindings ALT + SHIFT + - to CTRL + SHIFT + h after editing profiles.json. Reopened all tabs, and then tried CTRL + SHIFT + h. Still no action.

Expected behavior

As per release notes for v0.7.3291.0, it should have split pane.

Actual behavior

Split pane is not working

Originally created by @kumarom on GitHub (Dec 7, 2019). <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 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! --> <!-- This bug tracker is monitored by Windows Terminal development team and other technical folks. **Important: When reporting BSODs or security issues, DO NOT attach memory dumps, logs, or traces to Github issues**. Instead, send dumps/traces to secure@microsoft.com, referencing this GitHub issue. If this is an application crash, please also provide a Feedback Hub submission link so we can find your diagnostic data on the backend. Use the category "Apps > Windows Terminal (Preview)" and choose "Share My Feedback" after submission to get the link. Please use this form and describe your issue, concisely but precisely, with as much detail as possible. --> # Environment ```none Windows build number: Microsoft Windows [Version 10.0.18363.476] Professional Edition Windows Terminal version (if applicable): Version: 0.7.3382.0 Any other software? ``` # Steps to reproduce I have two tabs open (1st cmd, 2nd wsl1 Ubuntu) and I wanted to have split pane. So I focused on wsl1 and then pressed ALT + SHIFT + - or ALT + SHIFT + '+'. But there was no change. Then I closed all tabs. Changed key bindings ALT + SHIFT + - to CTRL + SHIFT + h after editing profiles.json. Reopened all tabs, and then tried CTRL + SHIFT + h. Still no action. # Expected behavior As per release notes for v0.7.3291.0, it should have split pane. <!-- A description of what you're expecting, possibly containing screenshots or reference material. --> # Actual behavior Split pane is not working <!-- What's actually happening? -->
claunia added the Area-SettingsIssue-BugResolution-AnsweredProduct-Terminal labels 2026-01-31 00:13:42 +00:00
Author
Owner

@bluuurgh commented on GitHub (Dec 7, 2019):

For me it only works if I don't use the numpad plus and min keys (which I would prefer) but it does work with the other plus and min keys (near backspace).

@bluuurgh commented on GitHub (Dec 7, 2019): For me it only works if I don't use the numpad plus and min keys (which I would prefer) but it does work with the other plus and min keys (near backspace).
Author
Owner

@Grisu118 commented on GitHub (Dec 9, 2019):

You used the correct key specifier for numbad keys? The following works for me:

            {
                "command": "splitHorizontal",
                "keys": [
                    "alt+shift+numpad_minus"
                ]
            },
            {
                "command": "splitVertical",
                "keys": [
                    "alt+shift+numpad_plus"
                ]
            }

See also here: https://github.com/microsoft/terminal/issues/3856

@Grisu118 commented on GitHub (Dec 9, 2019): You used the correct key specifier for numbad keys? The following works for me: ```json { "command": "splitHorizontal", "keys": [ "alt+shift+numpad_minus" ] }, { "command": "splitVertical", "keys": [ "alt+shift+numpad_plus" ] } ``` See also here: https://github.com/microsoft/terminal/issues/3856
Author
Owner

@kumarom commented on GitHub (Dec 9, 2019):

@Grisu118 Your suggetions work. However, the defaults mentioned in 9145903e11/src/cascadia/TerminalApp/defaults.json (L237-L238) do not. This issue can be closed if the defaults are updated.

@kumarom commented on GitHub (Dec 9, 2019): @Grisu118 Your suggetions work. However, the defaults mentioned in https://github.com/microsoft/terminal/blob/9145903e118bfa3b48749694689aec3a191bc4ac/src/cascadia/TerminalApp/defaults.json#L237-L238 do not. This issue can be closed if the defaults are updated.
Author
Owner

@zadjii-msft commented on GitHub (Dec 9, 2019):

@kumarom This is definitely weird. You're saying that

{
    "command": "splitVertical",
    "keys": [ "alt+shift+numpad_plus" ]
}

worked for you, but

{
    "command": "splitVertical",
    "keys": [ "ctrl+shift+h" ]
}

didn't? That's really weird. What keyboard layout are you using?

@zadjii-msft commented on GitHub (Dec 9, 2019): @kumarom This is definitely weird. You're saying that ```json { "command": "splitVertical", "keys": [ "alt+shift+numpad_plus" ] } ``` worked for you, but ```json { "command": "splitVertical", "keys": [ "ctrl+shift+h" ] } ``` _didn't_? That's really weird. What keyboard layout are you using?
Author
Owner

@kumarom commented on GitHub (Dec 9, 2019):

@zadjii-msft All I am saying that

{
    "command": "splitVertical",
    "keys": [ "alt+shift+numpad_plus" ]
}

worked. But { "command": { "action": "splitPane", "split": "vertical"}, "keys": [ "alt+shift+plus" ] }, does not work and is documented in 9145903e11/src/cascadia/TerminalApp/defaults.json (L237-L238)

@kumarom commented on GitHub (Dec 9, 2019): @zadjii-msft All I am saying that ``` { "command": "splitVertical", "keys": [ "alt+shift+numpad_plus" ] } ``` worked. But `{ "command": { "action": "splitPane", "split": "vertical"}, "keys": [ "alt+shift+plus" ] },` does not work and is documented in https://github.com/microsoft/terminal/blob/9145903e118bfa3b48749694689aec3a191bc4ac/src/cascadia/TerminalApp/defaults.json#L237-L238
Author
Owner

@zadjii-msft commented on GitHub (Dec 9, 2019):

@kumarom okay, I think I got confused by your OP where you mentioned that "CTRL + SHIFT + h" didn't work.

What keyboard layout are you using?

Does the alt+shift+plus binding work for you if you use the + key that's not on the numpad? On a QWERTY EN-US keyboard, this is the key with both + and =.

Perhaps we need to update the documentation to be clearer that plus and numpad_plus are not interchangable.

@zadjii-msft commented on GitHub (Dec 9, 2019): @kumarom okay, I think I got confused by your OP where you mentioned that "CTRL + SHIFT + h" didn't work. What keyboard layout are you using? Does the <kbd>alt+shift+plus</kbd> binding work for you if you use the <kbd>+</kbd> key that's _not_ on the numpad? On a QWERTY EN-US keyboard, this is the key with both `+` and `=`. Perhaps we need to update the documentation to be clearer that `plus` and `numpad_plus` are _not_ interchangable.
Author
Owner

@kumarom commented on GitHub (Dec 9, 2019):

@zadjii-msft I tried below and none of them worked for me. I am using QWERTY EN-US keyboard.

  • { "command": { "action": "splitPane", "split": "vertical"}, "keys": [ "alt+shift+plus" ] },
  • { "command": { "action": "splitPane", "split": "vertical"}, "keys": [ "alt+shift+numpad_plus" ] },
  • { "command": { "action": "splitPane", "split": "vertical"}, "keys": [ "alt+shift++" ] },
  • { "command": { "action": "splitPane", "split": "vertical"}, "keys": [ "alt+shift+h" ] },
    As per defaults defined here, above should have worked.

Below works:

  • { "command": "splitVertical", "keys": [ "alt+shift+numpad_plus" ] },
  • { "command": "splitVertical", "keys": [ "alt+shift++" ] },
  • { "command": "splitVertical", "keys": [ "alt+shift+plus" ] },
  • { "command": "splitVertical", "keys": [ "alt+shift+h" ] },
@kumarom commented on GitHub (Dec 9, 2019): @zadjii-msft I tried below and none of them worked for me. I am using QWERTY EN-US keyboard. - `{ "command": { "action": "splitPane", "split": "vertical"}, "keys": [ "alt+shift+plus" ] },` - `{ "command": { "action": "splitPane", "split": "vertical"}, "keys": [ "alt+shift+numpad_plus" ] },` - `{ "command": { "action": "splitPane", "split": "vertical"}, "keys": [ "alt+shift++" ] },` - `{ "command": { "action": "splitPane", "split": "vertical"}, "keys": [ "alt+shift+h" ] },` As per defaults defined [here](https://github.com/microsoft/terminal/blob/9145903e118bfa3b48749694689aec3a191bc4ac/src/cascadia/TerminalApp/defaults.json), above should have worked. Below works: - `{ "command": "splitVertical", "keys": [ "alt+shift+numpad_plus" ] },` - `{ "command": "splitVertical", "keys": [ "alt+shift++" ] },` - `{ "command": "splitVertical", "keys": [ "alt+shift+plus" ] },` - `{ "command": "splitVertical", "keys": [ "alt+shift+h" ] },`
Author
Owner

@zadjii-msft commented on GitHub (Dec 9, 2019):

Oh well this is horrifying. That style of keybindings definitely should be working. Lemme dig in a bit...

@zadjii-msft commented on GitHub (Dec 9, 2019): Oh well this is horrifying. That style of keybindings definitely should be working. Lemme dig in a bit...
Author
Owner

@zadjii-msft commented on GitHub (Dec 9, 2019):

I see what's going on here.

#3722 added support for splitPane, but unfortunately was not included in the 0.7.3382.0 release. So You'll need to keep using splitVertical and splitHorizontal style keybindings until the next update is released.

Sorry for any confusion!

@zadjii-msft commented on GitHub (Dec 9, 2019): I see what's going on here. #3722 added support for `splitPane`, but unfortunately was not included in the 0.7.3382.0 release. So You'll need to keep using `splitVertical` and `splitHorizontal` style keybindings until the next update is released. Sorry for any confusion!
Author
Owner

@andreamaruccia commented on GitHub (Sep 17, 2021):

My personal preference was to confiugre it like this:

  • use the keypads -/+
  • use splitmode so that it will select the current window's shell (if ubuntu it duplicates ubuntu, if powershell it duplicates psh)
  • works on the current version of vscode as opposed of old commands
        {
          "command": {
            "action": "splitPane",
            "split": "horizontal",
            "splitMode": "duplicate"
          },
          "keys": [
            "alt+shift+numpad_minus"
          ]
        },
        {
          "command": {
            "action": "splitPane",
            "split": "vertical",
            "splitMode": "duplicate"
          },
          "keys": [
            "alt+shift+numpad_plus"
          ]
        }
@andreamaruccia commented on GitHub (Sep 17, 2021): My personal preference was to confiugre it like this: * use the keypads -/+ * use splitmode so that it will select the current window's shell (if ubuntu it duplicates ubuntu, if powershell it duplicates psh) * works on the current version of vscode as opposed of old commands ``` { "command": { "action": "splitPane", "split": "horizontal", "splitMode": "duplicate" }, "keys": [ "alt+shift+numpad_minus" ] }, { "command": { "action": "splitPane", "split": "vertical", "splitMode": "duplicate" }, "keys": [ "alt+shift+numpad_plus" ] } ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#5451