Summary
Tmux is a terminal multiplexer an alternative to GNU Screen . In other words, it means that you can start a Tmux session and then open multiple windows inside that session. Each window occupies the entire screen and can be split into rectangular panes.
Cheat sheet
- prefix command default: ctrl+b custom: ctrl+w all the commands below are with prefix
- detach session: d
- attach: tmux attach -t(-d) name
- switch between sessions: ()
- list sessions: ls
- close pane: x
- new session: :new -s name
- copy mode: <prefix> [ then use vim mode command move around and copy(y) and paste(p)