[feature] tpm auto installation

This commit is contained in:
Klesh Wong 2020-09-21 14:43:40 +08:00
parent 99fab93c75
commit 56e90c6560

View File

@ -28,10 +28,10 @@ bind -n M-h select-pane -L
bind -n M-j select-pane -D
bind -n M-k select-pane -U
bind -n M-l select-pane -R
bind -n M-H resize-pane -L 20
bind -n M-H resize-pane -L 10
bind -n M-J resize-pane -D 10
bind -n M-K resize-pane -U 10
bind -n M-L resize-pane -R 20
bind -n M-L resize-pane -R 10
bind -n M-0 select-window -t :=0
bind -n M-1 select-window -t :=1
bind -n M-2 select-window -t :=2
@ -70,6 +70,8 @@ set -g @yank_action 'copy-pipe'
set -g @plugin 'kristijanhusak/tmux-simple-git-status'
set -g @plugin 'klesh/tmux-open'
set -g @plugin 'tmux-plugins/tmux-copycat'
if "test ! -d ~/.tmux/plugins/tpm" \
"run 'git clone --depth 1 https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm && ~/.tmux/plugins/tpm/bin/install_plugins'"
run -b '~/.tmux/plugins/tpm/tpm'
############################