Add Tmux Plugin Manager
This commit is contained in:
parent
84b343a6f0
commit
a2a8ff9a0d
@ -24,3 +24,15 @@ bind -r M-h resize-pane -L 5
|
|||||||
bind -r M-j resize-pane -D 5
|
bind -r M-j resize-pane -D 5
|
||||||
bind -r M-k resize-pane -U 5
|
bind -r M-k resize-pane -U 5
|
||||||
bind -r M-l resize-pane -R 5
|
bind -r M-l resize-pane -R 5
|
||||||
|
|
||||||
|
# plugins
|
||||||
|
set-option -g @plugin 'tmux-plugins/tpm'
|
||||||
|
|
||||||
|
# install/update tpm
|
||||||
|
if-shell "test ! -d " \
|
||||||
|
"run 'git clone https://github.com/tmux-plugins/tpm ~/.config/tmux/plugins/tpm'"
|
||||||
|
run-shell '~/.config/tmux/plugins/tpm/bin/install_plugins'
|
||||||
|
run-shell '~/.config/tmux/plugins/tpm/bin/clean_plugins'
|
||||||
|
run-shell '~/.config/tmux/plugins/tpm/bin/update_plugins all'
|
||||||
|
# start tpm
|
||||||
|
run-shell '~/.config/tmux/plugins/tpm/tpm'
|
||||||
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
/.config/tmux/plugins/
|
Loading…
Reference in New Issue
Block a user