hey, first THANKS for the great config.
Issue:
I am looking for a way to use some tmux plug ins, I would love to mange them via TPM.
What is the best practice while using this config?
especially looking for a way to use https://github.com/tmux-plugins/tmux-resurrect
regards
Hello @fwarmuth 👋
I'm not a TPM user myself but as far as I remember people got it working with TPM. Search the issues queue.
I'll think about adding instructions but as I don't use TPM myself, I don't want this configuration make people believe I'm the good person to answer TPM related questions.
One issue that discusses tpm and oh-my-tmux is #228. I followed that approach and it works.
I am very new to tpm. I had assumed it would just work with oh-my-tmux, but eventually figured out it didn't and found this issue I agree that something in the README may be useful to others.
Sourced from an issue on TPM page:
TPM has a known issue when using a custom config file with the
-foption. The solution is to use alternative plugin definition syntax. Here are the steps to make it work:remove all
set -g @pluginlines from tmux config filein the config file define the plugins in the following way:
# List of plugins set -g @tpm_plugins ' \ tmux-plugins/tpm \ tmux-plugins/tmux-sensible \ tmux-plugins/tmux-resurrect \ ' # Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf) run '~/.tmux/plugins/tpm/tpm'Reload TMUX environment so TPM is sourced: $ tmux source /path/to/my_tmux.conf
The plugins should now be working.
💁♂️ There is now a tpm branch up for testing that integrates Oh My Tmux! with TPM, see .tmux.conf.local for instructions
Closing as duplicate of #61
Most helpful comment
Sourced from an issue on TPM page: