tmux

tmux -V -> show version of tmux
tmux new -> new window
tmux attach -> attach to default multiplexed terminal

tmux attach -t name -> attach to terminal named name

tmux new [command [flags]] -> new terminal running command; flags
are for command.

tmux new -s session_name -> create a new session with name 'session_name'

tmux ls -> list tmux sessions

C-b - Send prefix key (Ctrl-B) through to the application
C-o - Rotate the panes in the current window forwards
C-z - Suspend the tmux client

! - Break the current pane out of the window
" - Split the current pane into two, top and bottom
% - Split the current pane into two, left and right
{ - Swap the current pane with the previous pane
} - Swap the current pane with the next pane
o - Select the next pane in the current window
Up, Down, left, right
- Change to the pane above, below, left, or to the right of the
current pane
x - Kill the current pane

0 to 9 - Select windows 0 to 9
. - Prompt for an index to move the current window
, - Rename the current window
w - Choose the current window interactively
p - Change to the previous window
n - Change to the next window
& - kill the current window
c - Create new window

D - Choose a client to detach
d - Detach the current client

L - Switch the attached client back to the last session
( - Switch the attached client to the previous session
) - Switch the attached client to the next window

r - Force redraw of of the attached client
: - Enter the tmux command prompt
; - List all key bindings