diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf index 39ff1f1..83d8aed 100644 --- a/tmux/.tmux.conf +++ b/tmux/.tmux.conf @@ -104,6 +104,21 @@ set -g message-fg white set -g message-bg colour22 set -g message-attr bright +# automatic 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'" -# -------------------------------- color end -------------------------------- + +# List of plugins +set -g @plugin 'tmux-plugins/tpm' +set -g @plugin 'tmux-plugins/tmux-sensible' +set -g @plugin 'tmux-plugins/tmux-yank' + +# Other examples: +# set -g @plugin 'github_username/plugin_name' +# set -g @plugin 'git@github.com/user/plugin' +# set -g @plugin 'git@bitbucket.com/user/plugin' + +# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf) +run '~/.tmux/plugins/tpm/tpm'