To know the basics of using Tmux, refer my blogpost
Tmux comes installed with most Linux distributions by default. You can check your installed version as:
tmux -V
If tmux isn’t found, refer their Installation page for instructions
When it comes to user configuration, Tmux looks for the .tmux.conf file within either of the ~ or $XDG_CONFIG_HOME/tmux directories. Create the config file at one of these location if none exists
You should also set up tpm to manage various plugins you might want to add to tmux that enhance the default experience such as:
You can also refer my .tmux.config file
Check out awesome-tmux for more resources
Attach into a tmux session (create one if none exists) and then:
PrefixKey IPrefixKey U and then type allLoad your config:
tmux source ~/.tmux.conf
Make sure the tmux-resurrect save-directory (by default ~/.tmux/resurrect) and permissions are given:
mkdir -p ~/.tmux/resurrect
chmod 755 ~/.tmux
PrefixKey Ctrl sPrefixKey Ctrl r