tmux manages multiple terminals.
I have my tmux config setup so C-Space is the leader key.
You can detach from the current session with Leader + d, and reattach with tmux attach
Leader + ? lists all keybindings.
Leader + c → create new window
Leader + w → window list
Leader + n → next window
Leader + p → previous window
Leader + [ → copy mode (scroll)
Leader + ] → paste last thing
Leader + = → view copy buffer (paste anything you want)
Leader + v → split vertical
Leader + h → split horizontal
Leader + ; → switch between panes
Leader + Left,Right,Up,Down → move between panes
Leader + C-{h,j,k,l} → move between panes vi-like
Leader + C-{Left,Right} → resize panes left/right
Leader + x → kill current pane
Leader + PageUp → enter scroll mode and go up
You can also scroll with the mouse wheel by holding Ctrl.
To copy into system clipboard from a remote tmux session, holf shift while selecting with left click as usual.
https://leanpub.com/the-tao-of-tmux/read → a tmux book