Skip to content

Windows Terminal

Comprehensive Windows Terminal shortcuts and workflows for enhanced productivity on Windows.

Basic Navigation

ShortcutDescription
Ctrl+Shift+TNew Tab
Ctrl+Shift+WClose Tab
Ctrl+TabNext Tab
Ctrl+Shift+TabPrevious Tab
Ctrl+Shift+1-9Go to Tab 1-9
Alt+Shift+DSplit Pane Vertically
Alt+Shift+-Split Pane Horizontally
Alt+ArrowNavigate Between Panes
Alt+Shift+ArrowResize Pane
Ctrl+Shift+WClose Pane

Window Management

ShortcutDescription
Ctrl+Shift+NNew Window
Alt+F4Close Window
F11Toggle Full Screen
Ctrl+,Open Settings
Ctrl+Shift+POpen Command Palette
Alt+EnterToggle Full Screen

Text Selection and Editing

ShortcutDescription
Ctrl+Shift+CCopy
Ctrl+Shift+VPaste
Ctrl+ASelect All
Shift+ClickExtend Selection
Ctrl+Shift+FFind
F3Find Next
Shift+F3Find Previous
Ctrl+Shift+HFind and Replace

Profile Management

ShortcutDescription
Ctrl+Shift+SpaceOpen Dropdown
Ctrl+Shift+1Open Profile 1
Ctrl+Shift+2Open Profile 2
Ctrl+Shift+3Open Profile 3
Ctrl+Shift+4Open Profile 4
Ctrl+Shift+5Open Profile 5

Font and Display

ShortcutDescription
Ctrl+=Increase Font Size
Ctrl+-Decrease Font Size
Ctrl+0Reset Font Size
Ctrl+Shift+ScrollWheelZoom

Advanced Features

ShortcutDescription
Ctrl+Shift+DDuplicate Tab
Ctrl+Shift+TNew Tab with Same Profile
Alt+ClickOpen Hyperlink
Ctrl+ClickOpen File Path

Command Line Integration

CommandDescription
wtOpen Windows Terminal
wt -p "Profile Name"Open with specific profile
wt new-tabOpen new tab
wt split-paneSplit current pane
wt -d C:\pathOpen in specific directory

Configuration Examples

Custom Key Bindings

json
{
    "command": "newTab",
    "keys": "ctrl+t"
},
{
    "command": "closeTab",
    "keys": "ctrl+w"
},
{
    "command": "splitPane",
    "keys": "alt+shift+d",
    "split": "vertical"
}

Profile Configuration

json
{
    "name": "PowerShell",
    "commandline": "powershell.exe",
    "hidden": false,
    "colorScheme": "Campbell",
    "fontSize": 12,
    "fontFace": "Cascadia Code"
}

Color Schemes

json
{
    "name": "Custom Dark",
    "background": "#0C0C0C",
    "foreground": "#CCCCCC",
    "black": "#0C0C0C",
    "blue": "#0037DA",
    "brightBlack": "#767676",
    "brightBlue": "#3B78FF"
}

PowerShell Integration

Useful PowerShell Commands

powershell
# Navigation
Set-Location C:\path\to\directory
Get-ChildItem  # List files
Get-Location   # Current directory

# File Operations
New-Item -ItemType File -Name "filename.txt"
New-Item -ItemType Directory -Name "foldername"
Copy-Item source.txt destination.txt
Remove-Item filename.txt

# System Information
Get-ComputerInfo
Get-Process
Get-Service
Get-EventLog -LogName System -Newest 10

PowerShell Aliases

powershell
# Add to PowerShell profile
Set-Alias ll Get-ChildItem
Set-Alias grep Select-String
Set-Alias which Get-Command

WSL Integration

WSL Commands

bash
# List WSL distributions
wsl --list --verbose

# Set default distribution
wsl --set-default Ubuntu

# Open WSL in Windows Terminal
wsl

# Run specific command in WSL
wsl ls -la

WSL Profile Configuration

json
{
    "name": "Ubuntu",
    "source": "Windows.Terminal.Wsl",
    "commandline": "wsl.exe -d Ubuntu",
    "startingDirectory": "//wsl$/Ubuntu/home/username"
}

Productivity Workflows

Development Setup

bash
# Multi-pane development environment
# Pane 1: Code editor
code .

# Pane 2: Development server
npm start

# Pane 3: Git operations
git status

# Pane 4: File watching/testing
npm test -- --watch

System Administration

powershell
# System monitoring panes
# Pane 1: Process monitoring
Get-Process | Sort-Object CPU -Descending

# Pane 2: Event log monitoring
Get-EventLog -LogName System -Newest 20

# Pane 3: Service status
Get-Service | Where-Object {$_.Status -eq "Running"}

# Pane 4: Network monitoring
netstat -an

Best Practices

Performance Optimization

  • Use hardware acceleration when available
  • Limit scrollback buffer size
  • Disable unnecessary visual effects
  • Use appropriate refresh rates

Customization

  • Create profiles for different environments
  • Use meaningful color schemes
  • Configure appropriate fonts and sizes
  • Set up custom key bindings

Security

  • Use Windows Hello for authentication
  • Configure appropriate execution policies
  • Use separate profiles for different security contexts
  • Enable secure input for sensitive operations

Workflow Integration

  • Integrate with version control systems
  • Use shell integration features
  • Configure automatic profile switching
  • Set up custom commands and aliases