MicrosoftDocs / terminal

Creative Commons Attribution 4.0 International
467 stars 170 forks source link

splitmode #740

Closed quaxten closed 4 months ago

quaxten commented 5 months ago

I can't find any information on the different split modes. I want to be able to split a window and select which type of terminal to open instead of launching a powershell or command shell then running say ssh. I want to split into a new ssh window or whatever. Thus I search for the different modes available.

But what are the different available modes?


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

quaxten commented 5 months ago

How can I do this without searching for it in the command palette?

Split pane, split: up, profile: Git Bash

zadjii-msft commented 5 months ago

From https://learn.microsoft.com/en-us/windows/terminal/customize-settings/actions#split-a-pane:

You could try binging this to Ctrl+Shift+G, or really whatever keybinding you'd like:

{ "keys": "ctrl+shift+g", "command": { "action": "splitPane", "split": "up", "profile": "Git Bash" } },
quaxten commented 4 months ago

works great! Thanks!

On Fri, Jan 26, 2024 at 6:47 AM Mike Griese @.***> wrote:

From https://learn.microsoft.com/en-us/windows/terminal/customize-settings/actions#split-a-pane :

You could try binging this to Ctrl+Shift+G, or really whatever keybinding you'd like:

{ "keys": "ctrl+shift+g", "command": { "action": "splitPane", "split": "up", "profile": "Git Bash" } },

— Reply to this email directly, view it on GitHub https://github.com/MicrosoftDocs/terminal/issues/740#issuecomment-1911946885, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWMA2RBXMDQZKU4K6WJJTXDYQOJUHAVCNFSM6AAAAABCLOQAVGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJRHE2DMOBYGU . You are receiving this because you authored the thread.Message ID: @.***>