tmux-plugins / tpm

Tmux Plugin Manager
MIT License
12.21k stars 429 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 4 years ago

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

lucabol commented 3 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 7 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.

dehnes commented 1 month ago

Appearantly the tpm install script only checks whether a folder for a specific plugin is there but not of the content is insude. I had the same issue, deleted all the plugin folders in ~/.tmux/plugins/ (except tpm which was not empty) and re-ran the install script via leader+I ... Voilá it worked