tmux
-> start tmux cmdtmux new -s <name>
-> start new session calledtmux a
-> attach to last sessiontmux a -t <name>
-> attach to sessiontmux ls
-> list sessionstmux kill-session -t <name>
-> kills sessiontmux kill-session -a
-> kills all sessions but current
C-b $
-> rename sessionC-b d
-> detach from sessionC-b w
-> session/window previewC-b (
orC-b )
-> move to previous or next sessionC-b c
-> create windowC-b ,
-> rename current windowC-b &
-> close current windowC-b p
orC-b n
-> move to previous or next windowC-b 0..9
-> switch window by number
C-b ;
-> toggle last active paneC-b %
-> split verticallyC-b "
-> split horizontallyC-b {
orC-b }
-> move current pane left or rightC-b <arrow>
-> switch panes to that directionC-b q
-> show pane numbersC-b q 0..9
-> select paneC-b x
-> close current paneC-b <spacebar>
-> toggle between pane layoutsC-b C-<arrow>
-> resize current pane
C-b [
-> enter copy mode- start selection
- cancel selection
- copy selection
C-b ]
-> paste contents on buffer_0