Over the last couple of days I have been familiarising myself with tmux.
As it says on the homepage,
tmux is a terminal multiplexer: it enables a number of terminals (or windows), each running a separate program, to be created, accessed, and controlled from a single screen. tmux may be detached from a screen and continue running in the background, then later reattached.
I was attracted to tmux after seeing a number of enthusiastic postings on the
Arch forums, and by the promise of
better management of multiple terminals in a single dwm tag…
It’s available in the community repo, so:
pacman -S tmux
Then it is just a matter of configuring it to suit your style of working,
keyboard bindings etc. Helpfully, it comes with some example config files to
start you off. These can be found at /usr/share/tmux/*.conf.
I borrowed heavily from Thayer Williams' for mine: