maclin
← Zurück zur Übersicht

tmux

Terminal Multiplexer - Sessions, Windows und Panes

Prefix-Taste: Ctrl+b

Sessions

Mac & Linux
tmux new -s mysession

Erstellt eine neue benannte Session

Mac & Linux
tmux ls

Listet alle aktiven Sessions

Mac & Linux
tmux attach -t mysession

Verbindet zu einer bestehenden Session

Mac & Linux
Ctrl+b d

Trennt von der aktuellen Session (detach)

Mac & Linux
tmux kill-session -t mysession

Beendet eine Session

Windows (Tabs)

Mac & Linux
Ctrl+b c

Erstellt ein neues Window

Mac & Linux
Ctrl+b n

Wechselt zum nächsten Window

Mac & Linux
Ctrl+b p

Wechselt zum vorherigen Window

Mac & Linux
Ctrl+b [0-9]

Wechselt zu Window mit Nummer

Mac & Linux
Ctrl+b ,

Benennt das aktuelle Window um

Mac & Linux
Ctrl+b &

Schließt das aktuelle Window

Panes (Splits)

Mac & Linux
Ctrl+b "

Teilt horizontal (übereinander)

Mac & Linux
Ctrl+b %

Teilt vertikal (nebeneinander)

Mac & Linux
Ctrl+b Pfeiltaste

Wechselt zwischen Panes

Mac & Linux
Ctrl+b Ctrl+Pfeiltaste

Ändert die Pane-Größe

Mac & Linux
Ctrl+b z

Zoom: Pane maximieren/minimieren

Mac & Linux
Ctrl+b x

Schließt das aktuelle Pane

Nützliches

Mac & Linux
Ctrl+b [

Copy-Mode: Scrollen und Text kopieren

Mac & Linux
Ctrl+b ?

Zeigt alle Tastenkürzel

Mac & Linux
Ctrl+b t

Zeigt eine große Uhr

Mac & Linux
tmux source-file ~/.tmux.conf

Lädt die Konfiguration neu