mirror of
https://github.com/Erreur32/cheat.git
synced 2024-12-22 21:52:12 +01:00
commit
3e05a463b6
1 changed files with 41 additions and 0 deletions
41
cheatsheets/tmux
Normal file
41
cheatsheets/tmux
Normal file
|
@ -0,0 +1,41 @@
|
|||
# Start tmux:
|
||||
tmux
|
||||
|
||||
# Detach from tmux:
|
||||
Ctrl-b d
|
||||
|
||||
# Restore tmux session:
|
||||
tmux attach
|
||||
|
||||
# Display session:
|
||||
tmux ls
|
||||
|
||||
# Start a shared session:
|
||||
tmux -S /tmp/your_shared_session
|
||||
chmod 777 /tmp/your_shared_session
|
||||
|
||||
# Help screen (Q to quit):
|
||||
Ctrl-b ?
|
||||
|
||||
# Scroll in window:
|
||||
Ctrl-b PageUp/PageDown
|
||||
|
||||
# Window management
|
||||
# =================
|
||||
|
||||
# Create window:
|
||||
Ctrl-b c
|
||||
|
||||
# Destroy window:
|
||||
Ctrl-b x
|
||||
|
||||
# Switch between windows:
|
||||
Ctrl-b [0-9]
|
||||
or
|
||||
Ctrl-b Arrows
|
||||
|
||||
# Split windows horizontally:
|
||||
Ctrl-b %
|
||||
|
||||
# Split windows vertically:
|
||||
Ctrl-b "
|
Loading…
Reference in a new issue