tpm
tpm copied to clipboard
Plugins not loading
Hi,
I have the following at the bottom of my tmux.conf:
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-yank'
set -g @plugin 'tmux-plugins/tmux-copycat'
set -g @plugin 'tmux-plugins/tmux-open'
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
if "test ! -d ~/.tmux/plugins/tpm" \
"run 'git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm'"
run '~/.tmux/plugins/tpm/tpm'
However, unless I add:
# TPM is not working this is a temporay workaround
run '~/.tmux/plugins/tmux-open/open.tmux'
run '~/.tmux/plugins/tmux-copycat/copycat.tmux'
run '~/.tmux/plugins/tmux-yank/yank.tmux'
None of the plugins are loaded. I'm on Ubuntu and tested both tmux 2.2 and 2.4
Thanks, Luis
I have a similar problem with tpm 2.2/2.6 both on Ubuntu 16.04 LTS and macOS Sierra.
I have this problem out of nowhere, 2 days ago it was working perfectly. Yesterday it wasn't. I'm like what?
Also solved my problems with tmux
plugins.
Thank you very much for posting this.
The workaround above didn't work for me. It seems that tpm doesn't load the plugin. I needed to load each plugin manually as below:
if "test ! -d ~/.tmux/plugins/tmux-sensible" \
"run 'git clone https://github.com/tmux-plugins/tmux-sensible ~/.tmux/plugins/tmux-sensible'"
run '~/.tmux/plugins/tmux-sensible/sensible.tmux'
The workaround above didn't work for me. It seems that tpm doesn't load the plugin. I needed to load each plugin manually as below:
if "test ! -d ~/.tmux/plugins/tmux-sensible" \ "run 'git clone https://github.com/tmux-plugins/tmux-sensible ~/.tmux/plugins/tmux-sensible'" run '~/.tmux/plugins/tmux-sensible/sensible.tmux'
Thanks @lucabol your workaround worked for me. Cloning the plugins repository into tmux plugins folder and then running the plugin solves the issue.