Remove tmux plugins

This commit is contained in:
flyingscorpio@clevo 2022-11-18 23:08:13 +01:00
parent 7297bce047
commit 856fad6c9a
2 changed files with 8 additions and 21 deletions

View file

@ -13,6 +13,8 @@ set-window-option -g monitor-activity off
set-option -g mode-keys vi
set-option -g history-limit 10000
set-option -g set-titles on
set-option -g set-titles-string "#T"
# y and p as in vim
bind-key Escape copy-mode
@ -51,11 +53,4 @@ bind-key -r L resize-pane -R 5
# fuzzy switch to session
unbind-key s
bind-key s run-shell -b "tmux switch-client -t $(tmux list-sessions | awk -F: '{print $1}' | fzf-tmux -p | tr -d '\n')"
# plugins
set-option -g @plugin 'tmux-plugins/tpm'
set-option -g @plugin 'tmux-plugins/tmux-sensible'
set-option -g @plugin 'tmux-plugins/tmux-resurrect'
run-shell '~/.tmux/plugins/tpm/tpm'
bind-key s run-shell -b "tmux switch-client -t $(tmux list-sessions | awk -F: '{print $2}' | fzf-tmux -p | tr -d '\n')"

View file

@ -19,16 +19,8 @@
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
- name: Create tmux directory
file:
path: ~/.tmux
state: directory
mode: 0755