my tmux configuration
apt
sudo apt install tmuxyay
yay -Syu tmuxsymlink
ln -s ~/.config/dot-tmux ~/.config/tmux # repo
ln -s ~/.config/dot-tmux/tmux.conf ~/.tmux.conf # cfg filedon't include plugin files
echo 'plugins/*' >> .gitignoreclone tpm from repo:
$ git clone https://github.com/tmux-plugins/tpm ~/.config/tmux/plugins/tpminit configuration file to use tpm:
set-environment -g TMUX_PLUGIN_MANAGER_PATH '~/.config/tmux/plugins/' # change plugins install dir
set -g @plugin 'tmux-plugins/tpm' # plugin manager
set -g @plugin 'tmux-plugins/tmux-sensible' # plugin
run '~/.config/tmux/plugins/tpm/tpm' # keep this line at the very bottom of cfg filereload init configuration file
tmux source ~/.tmux.conf
# OR
:source-file ~/.tmux.confinstall plugins
prefix + Iplugins should be installed to ~/.config/tmux/plugins.