Zum Inhalt

Windows Terminal

generieren

Umfassende Windows-Terminalabkürzungen und Workflows für eine verbesserte Produktivität unter Windows.

Hauptnavigation

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

Window Management

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

Textauswahl und Bearbeitung

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

Profilverwaltung

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

Schriftart und Display

Shortcut Description
Ctrl+= Increase Font Size
Ctrl+- Decrease Font Size
Ctrl+0 Reset Font Size
Ctrl+Shift+ScrollWheel Zoom

Erweiterte Funktionen

Shortcut Description
Ctrl+Shift+D Duplicate Tab
Ctrl+Shift+T New Tab with Same Profile
Alt+Click Open Hyperlink
Ctrl+Click Open File Path

Integration der Kommandozeilen

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

Konfigurationsbeispiele

Kundenspezifische Schlüsselbindungen

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

Profilkonfiguration

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

Farbschemata

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

Integration von PowerShell

Nützliche PowerShell-Befehle

```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 Alias

```powershell

Add to PowerShell profile

Set-Alias ll Get-ChildItem Set-Alias grep Select-String Set-Alias which Get-Command ```_

WSL Integration

WSL Befehle

```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 Profilkonfiguration

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

Produktivität Workflows

Entwicklung

```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 ```_

Systemverwaltung

```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

Leistungsoptimierung

  • Hardwarebeschleunigung verwenden, wenn verfügbar
  • Größe des Scrollback Puffers
  • unnötige visuelle Effekte deaktivieren
  • geeignete Erfrischungsraten verwenden

Anpassung

  • Profile für verschiedene Umgebungen erstellen
  • sinnvolle Farbschemata verwenden
  • Passende Schriftarten und Größen konfigurieren
  • Benutzerdefinierte Schlüsselbindungen einrichten

Sicherheit

  • Windows Hello zur Authentifizierung verwenden
  • Konfigurieren geeigneter Ausführungsrichtlinien
  • Verwenden Sie separate Profile für verschiedene Sicherheitskontexte
  • Sichere Eingabe für sensible Operationen aktivieren

Integration von Workflow

  • Integration mit Versionssteuerungssystemen
  • Verwenden Sie Shell-Integrationsfunktionen
  • Automatische Profilschaltung konfigurieren
  • Erstellen Sie benutzerdefinierte Befehle und Aliases