tmux-plugins / tpm

Tmux Plugin Manager
MIT License
11.97k stars 419 forks source link

Plugins not loading #97

Open luisdavim opened 7 years ago

luisdavim commented 7 years ago

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

cburlacu commented 6 years ago

I have a similar problem with tpm 2.2/2.6 both on Ubuntu 16.04 LTS and macOS Sierra.

christopher-francisco commented 5 years ago

I have this problem out of nowhere, 2 days ago it was working perfectly. Yesterday it wasn't. I'm like what?

Delanii commented 3 years ago

Also solved my problems with tmux plugins. Thank you very much for posting this.

lucabol commented 2 years ago

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'
jmartins-sh commented 6 months ago

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.