tmux
Installing
macOS
|
|
Commands
tmux ls
|
|
- returns list of active tmux sessions
Default key bindings
Default prefix key
|
|
Panes
default key bindings
Split the window horizontally (Horizontal pane)
|
|
Split the window vertically (Vertical pane)
|
|
Delete (kill) current (focused) pane
(with confirmation prompt)
|
|
Switch to the right pane
|
|
Switch to the left pane
|
|
Switch to the top pane
|
|
Switch to the bottom pane
|
|
Windows
Create and switch to new window
|
|
Switch to specific existing window
|
|
Switch to the next window
|
|
Switch to the previous window
|
|
Delete (kill) the current window
(with confirmation prompt)
|
|
Rename the current window
|
|
Sessions
Create and attach to a new tmux session
(outside of tmux)
|
|
Create and attach to a new session with specific name
|
|
Disconnect the current tmux session
|
|
Back to last disconnected session
|
|
Show list of existing tmux sessions
|
|
or
|
|
Attach to a specific tmux session
|
|
or
|
|
Rename the current session
|
|
Show the list of tmux sessions, attach to or manage the session
Show the list
|
|
- attach to selected session: Press the Enter
- delete the selected session (with prompt): Press x
Configuring
Create configuration file
|
|
Reload tmux to apply changes in config file
|
|
In some cases you need to kill tmux process to apply changes in config file. Notice it will kill all tmux running sessions.
|
|