tmux: added automatic TPM installation
This commit is contained in:
parent
c608125b7d
commit
c58f168b82
|
|
@ -81,5 +81,9 @@ bind-key -T copy-mode-vi v send-keys -X begin-selection
|
|||
bind-key -T copy-mode-vi C-v send-keys -X rectangle-toggle
|
||||
bind-key -T copy-mode-vi y send-keys -X copy-selection-and-cancel
|
||||
|
||||
# Automatically install tpm if needed
|
||||
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
|
||||
run '~/.tmux/plugins/tpm/tpm'
|
||||
|
|
|
|||
Loading…
Reference in New Issue