What 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. And do a lot more. See the manual.
A damned good cheatsheet (remember that the default prefix is 'ctrl-b')
https://tmuxcheatsheet.com/
A Crash Course from Thoughtbot
https://robots.thoughtbot.com/a-tmux-crash-course
By default [prefix] means pressing and releasing the ctrl and b keys together. The tmux config
attached to this gist rebinds [prefix] to ctrl-a, which is a way easier to type.
tmuxcreates new tmux sessiontmux attach -t [target session]reattaches to an existing session
tmux create-windowor[prefix]-ccreates a new window, like a tab in Chrometmux previous-window, tmux next-windowor[prefix]-(, [prefix]-)move between-windows[prefix]-(number)selects the window with that ID
tmux split-windowor[prefix]-"split a window verticallytmux split-window -vor[prefix]-%split a window horizontallytmux select-pane -[UDLR]or[prefix]-(arrow key)select the next pane in that direction
2-.tmux.conf, line 8:
Typo, prefix instead of prefux