Tmux is a terminal multiplexer. It lets you switch easily between several programs in one terminal, detach them (they keep running in the background) and reattach them to a different terminal.
Create window | Ctrl + b c |
Switch window by number | Ctrl + b 0…9 |
Previous window | Ctrl + b p |
Next window | Ctrl + b n |
Split pane with vertical layout | Ctrl + b " |
Split pane with horizontal layout | Ctrl + b { |
Switch pane | Ctrl + b ⬆️⬇️➡️⬅️ |