Pular para o conteúdo

Terminal do Windows

AtalhoDescrição
Ctrl+Shift+TNova Aba
Ctrl+Shift+WFechar Aba
Ctrl+TabPróxima Aba
Ctrl+Shift+TabAba Anterior
Ctrl+Shift+1-9Ir para Aba 1-9
Alt+Shift+DDividir Painel Verticalmente
Alt+Shift+-Dividir Painel Horizontalmente
Alt+ArrowNavegar Entre Painéis
Alt+Shift+ArrowRedimensionar Painel
Ctrl+Shift+WFechar Painel
AtalhoDescrição
Ctrl+Shift+NNova Janela
Alt+F4Fechar Janela
F11Alternar Tela Cheia
Ctrl+,Abrir Configurações
Ctrl+Shift+PAbrir Paleta de Comandos
Alt+EnterAlternar Tela Cheia
AtalhoDescrição
Ctrl+Shift+CCopiar
Ctrl+Shift+VColar
Ctrl+ASelecionar Tudo
Shift+ClickEstender Seleção
Ctrl+Shift+FEncontrar
F3Encontrar Próximo
Shift+F3Encontrar Anterior
Ctrl+Shift+HLocalizar e Substituir
AtalhoDescrição
Ctrl+Shift+SpaceAbrir Dropdown
Ctrl+Shift+1Abrir Perfil 1
Ctrl+Shift+2Abrir Perfil 2
Ctrl+Shift+3Abrir Perfil 3
Ctrl+Shift+4Abrir Perfil 4
Ctrl+Shift+5Abrir Perfil 5
AtalhoDescrição
Ctrl+=Aumentar Tamanho da Fonte
Ctrl+-Diminuir Tamanho da Fonte
Ctrl+0Redefinir Tamanho da Fonte
Ctrl+Shift+ScrollWheelZoom
AtalhoDescrição
Ctrl+Shift+DDuplicar Aba
Ctrl+Shift+TNova Aba com o Mesmo Perfil
Alt+ClickAbrir Hiperlink
Ctrl+ClickAbrir Caminho do Arquivo
ComandoDescrição
wtAbrir Windows Terminal
wt -p "Profile Name"Abrir com perfil específico
wt new-tabAbrir nova aba
wt split-paneDividir painel atual
wt -d C:\pathAbrir em diretório específico
\\\\{
    "command": "newTab",
    "keys": "ctrl+t"
\\\\},
\\\\{
    "command": "closeTab",
    "keys": "ctrl+w"
\\\\},
\\\\{
    "command": "splitPane",
    "keys": "alt+shift+d",
    "split": "vertical"
\\\\}
```## Integração de Linha de Comando
```json
\\\\{
    "name": "PowerShell",
    "commandline": "powershell.exe",
    "hidden": false,
    "colorScheme": "Campbell",
    "fontSize": 12,
    "fontFace": "Cascadia Code"
\\\\}
```## Exemplos de Configuração

### Associações de Teclas Personalizadas
```json
\\\\{
    "name": "Custom Dark",
    "background": "#0C0C0C",
    "foreground": "#CCCCCC",
    "black": "#0C0C0C",
    "blue": "#0037DA",
    "brightBlack": "#767676",
    "brightBlue": "#3B78FF"
\\\\}

Configuração de Perfil

# 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

Esquemas de Cores

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

Integração do PowerShell

Comandos Úteis do PowerShell

# 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

Aliases do PowerShell

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

Integração do WSL

Comandos do WSL

# 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

Configuração de Perfil do WSL

# 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

Fluxos de Trabalho de Produtividade

Configuração de Desenvolvimento