Changelog
sudo apt install tmux # on Ubuntu
Three different ways to trigger a tmux command:
tmux <COMMAND> # via tmux program(C-b) :<COMMAND> # tmux command window(C-b <HOTKEY>) # tmux command hotkey/keybindingWorking with sessions (equivalent to a single desktop environment):
tmux (new command)C-b ?C-b d (detach)tmux attachtmux lstmux kill-session / tmux kill-serverWorking with windows (equivalent to individual program windows in DE):
C-b c (neww)C-b 0 / C-b 1 / ... / C-b l (last window)C-b &Working with panes:
C-b % or C-b " (split-window)C-b Up / C-b Down / ...C-b { / C-b }C-b M-5 (e.g. for even tiling)C-b x
Enable mouse support with :set -g mouse on. Some things one can do:
C-b ] to paste)
Configure tmux server with config file at ~/.tmux.conf.