#tmux package manager (tpm)

3 messages · Page 1 of 1 (latest)

gleaming gale
#

I see that tmux is configured to use ~/.config/tmux/tmux.conf rather than .tmux.conf, I'm curious what this means about installing the default tmux package manager?

jade gorge
#

cat ~/.config/tmux/tmux.conf

source-file ~/.local/share/omarchy/config/tmux/tmux.conf
source-file ~/.config/tmux/tmux_mine.conf

hope this helps. not sure about tpm tmux package manager, but i don't use ~/.tmux.conf anymore. you can source-file and keep your ~/.config/tmux/tmux.conf light and always up to date using something like this.

gleaming gale
#

This did help, thank you. I ended up adding this to my ~/.config/tmux/tmux_mine.conf:

# Setup tmux plugin manager
set-environment -g TMUX_PLUGIN_MANAGER_PATH "$HOME/.config/tmux/plugins/"
set -g @plugin 'tmux-plugins/tpm'

# --- MOVING (No Leader Required) ---
# This uses Ctrl + h/j/k/l to jump between panes instantly
set -g @plugin 'christoomey/vim-tmux-navigator'

# initializes TMUX plugin manager in a new path
run -b "$HOME/.config/tmux/plugins/tpm/tpm"

I checked out tpm like this: git clone https://github.com/tmux-plugins/tpm ~/.config/tmux/plugins/tpm and I opened tmux and did <leader> I to pull down the vim-tmux-navigator plugin. Works great. Many thanks for getting me started.