tpm icon indicating copy to clipboard operation
tpm copied to clipboard

'List of plugins' section is restricted to .tmux.conf file only???

Open lloydngnn opened this issue 3 years ago • 1 comments

I'm using bash + tmux + tpm + 'tmux-fzf' plugin for tmux and I'm using 'oh my tmux' repo for tmux configuration files (.tmux.conf and .tmux.conf.local) If I put 'list of plugins' scripts into .tmux.conf =====> tmux-fzf works If I put 'list of plugins' scripts into .tmux.conf.local => tmux-fzf doesn't work

Here is my tpm scripts added to the bottom of my .tmux.conf.local file: set-environment -g TMUX_PLUGIN_MANAGER_PATH '~/.dotfiles/tmux/plugins' # ***** list of plugins ***** set -g @plugin 'tmux-plugins/tpm' set -g @plugin 'tmux-plugins/tmux-sensible' set -g @plugin 'sainnhe/tmux-fzf' # ***** end: list of plugins ***** run '~/.dotfiles/tmux/plugins/tpm/tpm'

lloydngnn avatar May 29 '21 17:05 lloydngnn

Gentoo. Tmux config files are intalled into /etc/tmux/. Tmux main config - /etc/tmux.conf. Users have no ~/.tmux.conf or ~/tmux/ and use only system defined /etc/tmux.conf config.

$ cat /ect/tmux.conf
source-file /etc/tmux/main.conf
set -g @plugin "arcticicestudio/nord-tmux"

$ grep @plugin /etc/tmux/plugins.conf | grep -v "^#" 
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-copycat'

$ ls -1 /etc/tmux
keybindings.conf
main.conf
mouse.conf
plugins
plugins.conf
theme.conf

$ ls -1 /etc/tmux/plugins
nord-tmux
tmux-copycat
tmux-themepack
tpm

I have this after prefix + U:

Installed plugins:
  nord-tmux
  nord-tmux
Type plugin name to update it.
- "all" - updates all plugins
- ENTER - cancels

E.g.:

  • only nord-tmux plugin detected;
  • only plugins from /etc/tmux.conf detected.

I will be happy, if tpm resolve all source-file directives from config file.

Bogdan107 avatar Dec 19 '21 11:12 Bogdan107