shell - Tmux 3.2a @plugin Overwrites Previous Entries Instead of Appending - Stack Overflow

admin2025-04-20  0

I'm using tmux 3.2a on cluster and trying to set up TPM with NHDaly/tmux-better-mouse-mode.

This is what my ~/.tmux.conf initially looks like

set -g mouse on
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'NHDaly/tmux-better-mouse-mode'
run '~/.tmux/plugins/tpm/tpm'

When I run

tmux show-options -g | grep @plugin

I only see the second plugin (NHDaly/tmux-better-mouse-mode) listed. If I switch the order of set -g @plugin 'tmux-plugins/tpm' and set -g @plugin 'NHDaly/tmux-better-mouse-mode', then only tpm shows.

It seems like the second @plugin line overwrites the first instead of appending. So I also tried set -ga @plugin 'NHDaly/tmux-better-mouse-mode', but this concatenates everything into one long string instead of treating them as separate plugins.

转载请注明原文地址:http://conceptsofalgorithm.com/Algorithm/1745116871a285913.html

最新回复(0)