iTerm2 Terminal¶
generieren
Umfassende iTerm2 Shortcuts und Workflows für eine verbesserte Endproduktivität auf macOS.
Hauptnavigation¶
Shortcut | Description |
---|---|
Cmd+T |
New Tab |
Cmd+W |
Close Tab |
Cmd+Shift+] |
Next Tab |
Cmd+Shift+[ |
Previous Tab |
Cmd+1-9 |
Go to Tab 1-9 |
Cmd+D |
Split Pane Vertically |
Cmd+Shift+D |
Split Pane Horizontally |
Cmd+] |
Next Pane |
Cmd+[ |
Previous Pane |
Cmd+Option+Arrow |
Navigate Between Panes |
Cmd+Shift+Enter |
Maximize/Restore Pane |
Window Management¶
Shortcut | Description |
---|---|
Cmd+N |
New Window |
Cmd+Shift+W |
Close Window |
Cmd+Option+H |
Hide Other Windows |
Cmd+M |
Minimize Window |
Cmd+Enter |
Toggle Full Screen |
Cmd+Shift+T |
Reopen Last Closed Tab |
Cmd+I |
Open Window Info |
Textauswahl und Bearbeitung¶
Shortcut | Description |
---|---|
Double-click |
Select Word |
Triple-click |
Select Line |
Cmd+A |
Select All |
Cmd+C |
Copy |
Cmd+V |
Paste |
Cmd+Shift+V |
Paste Special |
Cmd+Option+V |
Paste Selection |
Cmd+F |
Find |
Cmd+G |
Find Next |
Cmd+Shift+G |
Find Previous |
Option+Click |
Move Cursor to Click Position |
Suche und Geschichte¶
Shortcut | Description |
---|---|
Cmd+F |
Open Search |
Cmd+Option+F |
Open Search with Selection |
Cmd+R |
Clear Screen |
Cmd+K |
Clear Screen and Scrollback |
Cmd+Shift+H |
Show Command History |
Cmd+; |
Show Autocomplete |
Cmd+Shift+; |
Show Command History |
Profile und Einstellungen¶
Shortcut | Description |
---|---|
Cmd+, |
Open Preferences |
Cmd+Option+, |
Open Profile Preferences |
Cmd+U |
Use Transparency |
Cmd+Option+B |
Show Background Image |
Erweiterte Funktionen¶
Shortcut | Description |
---|---|
Cmd+Shift+A |
Select Output of Last Command |
Cmd+Option+A |
Select All Output |
Cmd+Shift+S |
Save Selection |
Cmd+Option+E |
Expose All Tabs |
Cmd+Option+I |
Open Quickly |
Cmd+Shift+O |
Open Quickly with Selection |
Markierungen und Anmerkungen¶
Shortcut | Description |
---|---|
Cmd+Shift+M |
Set Mark |
Cmd+Shift+J |
Jump to Mark |
Cmd+Option+M |
Show Marks |
Cmd+Shift+A |
Select to Mark |
Hotkey Window¶
Shortcut | Description |
---|---|
Option+Space |
Show/Hide Hotkey Window (configurable) |
Cmd+Option+0 |
Toggle Hotkey Window |
Integration von Terminalbefehlen¶
Command | Description |
---|---|
imgcat image.png |
Display image in terminal |
it2dl filename |
Download file from remote server |
it2ul filename |
Upload file to remote server |
it2check |
Check iTerm2 integration |
Konfiguration Tipps¶
Profil Setup¶
```bash
Set up custom profile¶
Go to Preferences > Profiles > General¶
Configure colors, fonts, and behavior¶
Import/Export profiles¶
Preferences > Profiles > Other Actions > Import/Export¶
```_
Integration von Shell¶
```bash
Install shell integration¶
curl -L https://iterm2.com/shell_integration/install_shell_integration_and_utilities.sh|bash
Add to ~/.zshrc or ~/.bash_profile¶
source ~/.iterm2_shell_integration.zsh ```_
Kundenspezifische Schlüsselbindungen¶
```bash
Configure in Preferences > Profiles > Keys¶
Add custom key bindings for frequently used commands¶
Example: Cmd+Shift+R for "clear && ls -la"¶
```_
Produktivität Workflows¶
Mehrspurige Entwicklung¶
```bash
Split terminal for development workflow¶
Pane 1: Code editor (vim/nano)¶
Pane 2: File watcher/build process¶
Pane 3: Git operations¶
Pane 4: Server/application logs¶
```_
Sitzungsmanagement¶
```bash
Use tmux with iTerm2 for session persistence¶
tmux new-session -d -s development tmux split-window -h tmux split-window -v tmux attach-session -t development ```_
Schnelle Befehle¶
```bash
Set up aliases in ~/.zshrc¶
alias ll="ls -la" alias gs="git status" alias gp="git push" alias gc="git commit -m" alias ..="cd .." alias ...="cd ../.." ```_
Best Practices¶
Leistungsoptimierung¶
- Limit Scrollback Puffergröße für bessere Leistung
- Verwenden Sie GPU-Rendering, wenn verfügbar
- unnötige visuelle Effekte deaktivieren
- Konfigurieren geeigneter Erfrischungsraten
Sicherheit¶
- Verwenden Sie sichere Shell (SSH) mit Schlüsselauthentifizierung
- Konfigurieren Sie Session Timeout für sensible Umgebungen
- Verwenden Sie separate Profile für verschiedene Sicherheitskontexte
- Sichere Tastatureingabe für die Passworteingabe aktivieren
Anpassung¶
- Profile für unterschiedliche Entwicklungsumgebungen erstellen
- Verwenden Sie Farbschemata, die Augenspannung reduzieren
- Konfigurieren Sie entsprechende Schriftgrößen und Familien
- Benutzerdefinierte Statusleisten und Abzeichen einrichten
Integration von Workflow¶
- Integration mit Versionssteuerungssystemen
- Verwenden Sie Shell-Integrationsfunktionen
- Automatische Profilschaltung konfigurieren
- Setup benutzerdefinierte Trigger und Alarme