tmux is a tool that allows us to do many things. One of these things is splitting terminal windows into panes in a same window.
We can use homebrew to install tmux brew install tmux
We can use tmux command to create a new session.
By default we have only one pane when tmux session is started. We can split the pane by using (Ctrl+b) + % keybinding.
We can move between panes by using (Ctrl+b) + arrow keys keybinding.