By default, Byobu lets its terminal windows occupy all the available real estate. Sometimes, it is convenient to have two shell sessions in Byobu that are side-by-side. This is possible in Byobu by creating a vertical split or a horizontal split.
This splits the current window into two vertically or horizontally. In a vertical split, the current session is maintained in the left split, while a new shell session is opened in the right split. In a horizontal split, the current session is maintained in the top split, while a new session is opened in the bottom split.
The keyboard shortcuts for creating and switching between splits:
- Ctrl + F2: Create a vertical split
- Shift + F2: Create a horizontal split
- Shift + F3 and Shift + F4: Switch forward and backward between the splits
You can see these keyboard shortcuts defined in the
/usr/share/byobu/keybindings/f-keys.tmux file. You can override or change them in your own
Tried with: Byobu 5.106, Tmux 2.1 and Ubuntu 16.04 LTS