You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
79 lines
755 B
Markdown
79 lines
755 B
Markdown
# Tmux from terminal
|
|
|
|
tmux
|
|
tmux attach -s <SessionName>
|
|
tmux new -t <SessionName>
|
|
|
|
# Prefix/Mod Key
|
|
|
|
Ctrl + b
|
|
|
|
# Detach Session
|
|
|
|
Keep the session running while not focussed
|
|
|
|
Mod d
|
|
|
|
# Tmux Panes
|
|
|
|
Split Right
|
|
|
|
Mod %
|
|
|
|
Split Down
|
|
|
|
Mod "
|
|
|
|
Kill pane
|
|
|
|
Ctrl + d
|
|
|
|
## Pane Movement
|
|
|
|
Move between panes
|
|
|
|
Mod <arrow keys>
|
|
Mod q <number>
|
|
|
|
Resize panes
|
|
|
|
(Hold) Mod + (press) <Arrow Key>
|
|
|
|
# Windows
|
|
|
|
Create a new window
|
|
|
|
Mod c
|
|
|
|
Rename a window
|
|
|
|
Mod ,
|
|
|
|
Kill window
|
|
|
|
Mod &
|
|
|
|
## Window Movement
|
|
|
|
Switch between windows by number
|
|
|
|
Mod <window number>
|
|
|
|
Switch between next/previous windows
|
|
|
|
Mod n/p
|
|
|
|
# Sessions
|
|
|
|
Create a new session
|
|
|
|
Mod :new
|
|
|
|
Rename a session
|
|
|
|
Mod $
|
|
|
|
Show existing sessions
|
|
|
|
Mod s
|