Add plugin manager to tmux role
This commit is contained in:
parent
864e35d4b7
commit
06fd813616
2 changed files with 18 additions and 0 deletions
|
@ -49,4 +49,8 @@ bind -r K resize-pane -U 5
|
|||
bind -r L resize-pane -R 5
|
||||
|
||||
# plugins
|
||||
set -g @plugin 'tmux-plugins/tpm'
|
||||
set -g @plugin 'tmux-plugins/tmux-sensible'
|
||||
set -g @plugin 'tmux-plugins/tmux-resurrect'
|
||||
|
||||
run '~/.tmux/plugins/tpm/tpm'
|
||||
|
|
|
@ -18,3 +18,17 @@
|
|||
src: tmux.conf
|
||||
dest: ~/.tmux.conf
|
||||
mode: 0644
|
||||
|
||||
- name: Create tmux plugin directory
|
||||
file: path={{ item }} state=directory mode=0755
|
||||
with_items:
|
||||
- ~/.tmux
|
||||
- ~/.tmux/plugins
|
||||
|
||||
- name: Clone tmux plugin manager
|
||||
git:
|
||||
repo: https://github.com/tmux-plugins/tpm
|
||||
dest: ~/.tmux/plugins/tpm
|
||||
clone: true
|
||||
update: false
|
||||
version: master
|
||||
|
|
Loading…
Add table
Reference in a new issue