Terminal Windows
Copier toutes les commandes
Générer PDF
Des raccourcis et des flux de travail complets pour une productivité accrue sur Windows.
Navigation de base
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 |
Gestion des fenêtres
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 |
Sélection et édition de texte
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 |
Gestion du profil
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 |
Police et affichage
Shortcut |
Description |
Ctrl+= |
Increase Font Size |
Ctrl+- |
Decrease Font Size |
Ctrl+0 |
Reset Font Size |
Ctrl+Shift+ScrollWheel |
Zoom |
Caractéristiques avancées
Shortcut |
Description |
Ctrl+Shift+D |
Duplicate Tab |
Ctrl+Shift+T |
New Tab with Same Profile |
Alt+Click |
Open Hyperlink |
Ctrl+Click |
Open File Path |
Intégration de la ligne de commande
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 |
Exemples de configuration
Reliures de clés personnalisées
\\\\{
"command": "newTab",
"keys": "ctrl+t"
\\\\},
\\\\{
"command": "closeTab",
"keys": "ctrl+w"
\\\\},
\\\\{
"command": "splitPane",
"keys": "alt+shift+d",
"split": "vertical"
\\\\}
Configuration du profil
\\\\{
"name": "PowerShell",
"commandline": "powershell.exe",
"hidden": false,
"colorScheme": "Campbell",
"fontSize": 12,
"fontFace": "Cascadia Code"
\\\\}
```_
### Schémas de couleurs
```json
\\\\{
"name": "Custom Dark",
"background": "#0C0C0C",
"foreground": "#CCCCCC",
"black": "#0C0C0C",
"blue": "#0037DA",
"brightBlack": "#767676",
"brightBlue": "#3B78FF"
\\\\}
```_
## Intégration PowerShell
### Commandes PowerShell utiles
```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
Aliases PowerShell
# Add to PowerShell profile
Set-Alias ll Get-ChildItem
Set-Alias grep Select-String
Set-Alias which Get-Command
Intégration WSL
Commandes WSL
# 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
Configuration du profil WSL
\\\\{
"name": "Ubuntu",
"source": "Windows.Terminal.Wsl",
"commandline": "wsl.exe -d Ubuntu",
"startingDirectory": "//wsl$/Ubuntu/home/username"
\\\\}
Productivité Flux de travail
Développement
# 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
Administration du système
# 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
Meilleures pratiques
- Utiliser l'accélération matérielle lorsque disponible
- Limiter la taille du tampon déroulant
- Désactiver les effets visuels inutiles
- Utiliser les taux de rafraîchissement appropriés
Personnalisation
- Créer des profils pour différents environnements
- Utiliser des schémas de couleurs significatifs
- Configurer les polices et tailles appropriées
- Configurer des attaches de clés personnalisées
Sécurité
- Utiliser Windows Hello pour l'authentification
- Configurer les politiques d'exécution appropriées
- Utiliser des profils séparés pour différents contextes de sécurité
- Activer les entrées sécurisées pour les opérations sensibles
Intégration des flux de travail
- Intégrer avec les systèmes de contrôle de version
- Utiliser les fonctionnalités d'intégration de shell
- Configurer le changement de profil automatique
- Configurer les commandes et alias personnalisés