Closed mattboy9921 closed 2 years ago
Hey @mattboy9921 👋
What version of tmux are you using?
Does the plugin work when you use TPM without Oh my tmux?
Hi @gpakosz
I was using version 2.6 on Ubuntu Server 18.04. I just upgraded to Ubuntu Server 20.04 and am now on tmux version 3.0a. It is still giving me the same issue with the plugin.
Starting with a fresh install of tmux, I can install TPM and get tmux-menus working as normal.
Starting with a fresh install of tmux, I can install TPM and get tmux-menus working as normal
Well it looks like it does but when I try with Ubuntu 18.04 which has tmux 2.6
, then running
$ /home/vagrant/.tmux/plugins/tmux-menus/menus.tmux
tmux: unknown option -- N
usage: bind-key [-cnr] [-T key-table] key command [arguments]
Shows tmux-menus
is not compatible with old versions of tmux.
I didn't try with Ubuntu 20.04 and tmux 3.0a because bind-key -N
was introduced in tmux 3.1
. Please reach out to the plugin author(s)
I pushed the gh-533
branch that display which tmux plugin failed to run.
In any case, it looks like you need to use a least tmux 3.1
is you want to use that plugin
I uninstalled the package manager tmux 3.0a
and installed via tarball straight from Github to get tmux 3.2a
. It looks like that plugin is working. I'll switch to gh-533
to see if any other plugin I might try fails to load.
@mattboy9921 Ok will merge soon
@mattboy9921 Any hiccup using the gh-533
branch?
@gpakosz So right now when I do <prefix> + r
, it reloads but then says "One or mroe TPM plugin(s) failed". I only have that one plugin and it seems to work (besides not centering the menu that pops up). I'm not sure how to see any more details.
It's because onf or more tpm plugin(s) failed 🙃
You can use tmux show-messages
to see latest messages. There should be a message that tells which plugin failed
This is everything it gives me:
You're right I pushed a buggy error detection test 😅
This should be fixed now
Upon adding a line to install a plugin, I get this:
The plugin I am trying to install is tmux-menus with the line:
I've tried killing the tmux server and multiple times runnning
<prefix> + r
to no avail. I have no other plugins installed but can confirm that trying to useset -g @plugin 'tmux-plugins/tmux-cpu'
did seem to work as intended, no message pop up.