diff --git a/.gitmodules b/.gitmodules index d9afc26..e69de29 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +0,0 @@ -[submodule "plugins/tpm"] - path = plugins/tpm - url = https://github.com/tmux-plugins/tpm diff --git a/plugins/tpm b/plugins/tpm deleted file mode 160000 index 99469c4..0000000 --- a/plugins/tpm +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 99469c4a9b1ccf77fade25842dc7bafbc8ce9946 diff --git a/tmux.conf b/tmux.conf index e0149eb..6eca7a5 100644 --- a/tmux.conf +++ b/tmux.conf @@ -64,5 +64,8 @@ set -g @plugin "nordtheme/tmux" # set -g @plugin 'git@github.com:user/plugin' # set -g @plugin 'git@bitbucket.com:user/plugin' +# Automatically install tpm +if "test ! -d ~/.tmux/plugins/tpm" "run 'git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm && ~/.tmux/plugins/tpm/bin/install_plugins'" + # Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf) run "${HOME}/.config/tmux/plugins/tpm/tpm"