Terminal de Windows
"Clase de la hoja"
########################################################################################################################################################################################################################################################## Copiar todos los comandos
■/div titulada
Atajos y flujos de trabajo completos de Windows Terminal para mejorar la productividad en Windows.
Navegación básica
Shortcut |
Description |
Ctrl+Shift+T |
New Tab |
Ctrl+Shift+W |
Close Tab |
Ctrl+Tab |
Next Tab |
Ctrl+Shift+Tab |
Previous Tab |
Ctrl+Shift+1-9 |
Go to Tab 1-9 |
Alt+Shift+D |
Split Pane Vertically |
Alt+Shift+- |
Split Pane Horizontally |
Alt+Arrow |
Navigate Between Panes |
Alt+Shift+Arrow |
Resize Pane |
Ctrl+Shift+W |
Close Pane |
Gestión de ventana
Shortcut |
Description |
Ctrl+Shift+N |
New Window |
Alt+F4 |
Close Window |
F11 |
Toggle Full Screen |
Ctrl+, |
Open Settings |
Ctrl+Shift+P |
Open Command Palette |
Alt+Enter |
Toggle Full Screen |
Selección de texto y edición
Shortcut |
Description |
Ctrl+Shift+C |
Copy |
Ctrl+Shift+V |
Paste |
Ctrl+A |
Select All |
Shift+Click |
Extend Selection |
Ctrl+Shift+F |
Find |
F3 |
Find Next |
Shift+F3 |
Find Previous |
Ctrl+Shift+H |
Find and Replace |
Gestión del perfil
Shortcut |
Description |
Ctrl+Shift+Space |
Open Dropdown |
Ctrl+Shift+1 |
Open Profile 1 |
Ctrl+Shift+2 |
Open Profile 2 |
Ctrl+Shift+3 |
Open Profile 3 |
Ctrl+Shift+4 |
Open Profile 4 |
Ctrl+Shift+5 |
Open Profile 5 |
Fuente y pantalla
Shortcut |
Description |
Ctrl+= |
Increase Font Size |
Ctrl+- |
Decrease Font Size |
Ctrl+0 |
Reset Font Size |
Ctrl+Shift+ScrollWheel |
Zoom |
Características avanzadas
Shortcut |
Description |
Ctrl+Shift+D |
Duplicate Tab |
Ctrl+Shift+T |
New Tab with Same Profile |
Alt+Click |
Open Hyperlink |
Ctrl+Click |
Open File Path |
Integración de la línea de mando
Command |
Description |
wt |
Open Windows Terminal |
wt -p "Profile Name" |
Open with specific profile |
wt new-tab |
Open new tab |
wt split-pane |
Split current pane |
wt -d C:\path |
Open in specific directory |
Ejemplos de configuración
Cadenas de clave personalizadas
\\\\{
"command": "newTab",
"keys": "ctrl+t"
\\\\},
\\\\{
"command": "closeTab",
"keys": "ctrl+w"
\\\\},
\\\\{
"command": "splitPane",
"keys": "alt+shift+d",
"split": "vertical"
\\\\}
Configuración del perfil
\\\\{
"name": "PowerShell",
"commandline": "powershell.exe",
"hidden": false,
"colorScheme": "Campbell",
"fontSize": 12,
"fontFace": "Cascadia Code"
\\\\}
Esquemas de color
\\\\{
"name": "Custom Dark",
"background": "#0C0C0C",
"foreground": "#CCCCCC",
"black": "#0C0C0C",
"blue": "#0037DA",
"brightBlack": "#767676",
"brightBlue": "#3B78FF"
\\\\}
PowerShell Integration
Mandos de PowerShell útiles
# 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
# Add to PowerShell profile
Set-Alias ll Get-ChildItem
Set-Alias grep Select-String
Set-Alias which Get-Command
WSL Integration
WSL Commands
# 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
Configuración de perfil WSL
\\\\{
"name": "Ubuntu",
"source": "Windows.Terminal.Wsl",
"commandline": "wsl.exe -d Ubuntu",
"startingDirectory": "//wsl$/Ubuntu/home/username"
\\\\}
Productividad Flujos de trabajo
Development Setup
# 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
Administración del sistema
# 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
Buenas prácticas
Optimización del rendimiento
- Utilice la aceleración del hardware cuando esté disponible
- Tamaño del amortiguador de desplazamiento
- Efectos visuales innecesarios
- Use las tasas de actualización apropiadas
Personalización
- Crear perfiles para diferentes ambientes
- Use esquemas de color significativos
- Configurar fuentes y tamaños apropiados
- Configurar acoplamientos de teclas personalizados
Seguridad
- Usar Windows Hola para autenticación
- Configure appropriate execution policies
- Use perfiles separados para diferentes contextos de seguridad
- Permitir una entrada segura para operaciones sensibles
Integración del flujo de trabajo
- Integrar con sistemas de control de versiones
- Utilizar características de integración de shell
- Configurar el cambio de perfil automático
- Configurar comandos y alias personalizados