From f049d15b99b466fa923f4575eca8ca04447a9183 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Mon, 4 Nov 2019 20:09:04 +0000 Subject: [PATCH] Add useful tmux plugins --- files/tmux.conf | 3 +++ tasks/shell.yml | 14 ++++++++++---- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/files/tmux.conf b/files/tmux.conf index 6586be9..de7bbfc 100644 --- a/files/tmux.conf +++ b/files/tmux.conf @@ -11,6 +11,9 @@ unbind C-b set -g prefix C-t bind C-t send-prefix source-file "{{ home }}/.tmux/plugins/tmux-themepack/basic.tmuxtheme" +run-shell "{{ home }}/.tmux/plugins/tmux-yank/yank.tmux" +run-shell "{{ home }}/.tmux/plugins/tmux-sensible/sensible.tmux" +run-shell "{{ home }}/.tmux/plugins/tmux-fpp/fpp.tmux" set-window-option -g automatic-rename on set-option -g set-titles on diff --git a/tasks/shell.yml b/tasks/shell.yml index 9b04c9b..e2b8569 100644 --- a/tasks/shell.yml +++ b/tasks/shell.yml @@ -16,6 +16,7 @@ - 'exa' - 'fasd' - 'fd' + - 'fpp' - 'htop' - 'jshon' - 'jq' @@ -34,6 +35,7 @@ - 'thefuck' - 'tmux' - 'ruby-tmuxinator' + - 'xsel' - 'zsh' - 'zsh-completions' - 'zsh-doc' @@ -66,14 +68,18 @@ owner: "{{ user }}" group: users -- name: Install tmux themepack +- name: Install tmux packages git: - repo: https://github.com/jimeh/tmux-themepack.git - dest: "{{ home }}/.tmux/plugins/tmux-themepack" + repo: "{{ item }}" + dest: "{{ home }}/.tmux/plugins/{{ item.split('/')[-1] }}" force: true become: true become_user: "{{ user }}" - + with_items: + - https://github.com/jimeh/tmux-themepack + - https://github.com/tmux-plugins/tmux-yank + - https://github.com/tmux-plugins/tmux-sensible + - https://github.com/tmux-plugins/tmux-fpp - name: "Create alacritty config directory" file: