brewedbits.dev

Personal blog with guides and news on selfhosting, Linux and AI, from the Netherlands

nextDash nextdash --aboutYour bookmarks. Your terminal. checks your links knows your Docker host one container, no cloudLive demo →nextdash.cc ↗

Tip: Alt+Shift+Plus and Alt+Shift+Minus split Windows Terminal into panes

Terminal
~/tips/tip-terminal-windows-terminal-panes

Alt+Shift+Plus new pane to the right (vertical split)

Puts two or more shells side by side in one Windows Terminal tab.

Windows Terminal can split a tab like tmux does, and the default shortcuts are there without any setup.

With a tab open, these keys work out of the box:

Alt+Shift+Plus      new pane to the right (vertical split)
Alt+Shift+Minus     new pane below (horizontal split)
Alt+Arrow           move focus to the pane in that direction
Alt+Shift+Arrow     make the focused pane bigger or smaller
Ctrl+Shift+W        close the focused pane

The new pane opens your default profile. To open a pane of another profile, hold Alt and pick it from the drop down next to the new tab button.

I like a split for things that belong together: a log being followed on one side, the command that should change it on the other. The focused pane has a coloured border, so you can see where your typing goes.

You can also build a layout from the command line, which is nice in a shortcut:

wt -d . `; split-pane -V -d .

The backtick before the semicolon is not a typo. PowerShell reads ; as its own separator, so it needs escaping to reach wt. From Command Prompt you write a plain semicolon. If a key does nothing, check the actions in Settings, because a custom keybinding or another app may have claimed it.

Further reading: Windows Terminal panes (Microsoft Learn), Windows Terminal command line arguments (Microsoft Learn)

More Terminal tips ioreg -rn AppleSmartBattery | grep CycleCount Terminal can save your windows and tabs as a window group Export a Terminal profile to a .terminal file and import it on another Mac mc hidutil property --set '{"UserKeyMapping":[{"HIDKeyboardModifierMappingSrc":0x700000039,"HIDKeyboardModifierMappingDst":0x700000029}]}' All Terminal tips (116) All topics

Link