From e6ec7c73695982be0d766f00bfbeddb882e2a3ca Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Fri, 4 Nov 2016 10:35:06 +0100 Subject: [PATCH] ship a tmux.conf --- modules/debian-org/files/root-dotfiles/tmux.conf | 16 ++++++++++++++++ modules/debian-org/manifests/init.pp | 3 +++ 2 files changed, 19 insertions(+) create mode 100644 modules/debian-org/files/root-dotfiles/tmux.conf diff --git a/modules/debian-org/files/root-dotfiles/tmux.conf b/modules/debian-org/files/root-dotfiles/tmux.conf new file mode 100644 index 000000000..3964c7039 --- /dev/null +++ b/modules/debian-org/files/root-dotfiles/tmux.conf @@ -0,0 +1,16 @@ +# mess with the status window +set -g status-bg colour109 +set -g status-right "[#T]" +setw -g window-status-current-bg white + +bind -n C-Right next-window +bind -n C-Left previous-window + +bind -n C-Up select-pane -U +bind -n C-Down select-pane -D +bind | split-window -h +bind - split-window -v + +set -g default-terminal "screen-it" +set -g xterm-keys on +set -sg escape-time 0 diff --git a/modules/debian-org/manifests/init.pp b/modules/debian-org/manifests/init.pp index 7cec64776..8d64f8497 100644 --- a/modules/debian-org/manifests/init.pp +++ b/modules/debian-org/manifests/init.pp @@ -290,6 +290,9 @@ class debian-org { file { '/root/.screenrc': source => 'puppet:///modules/debian-org/root-dotfiles/screenrc', } + file { '/root/.tmux.conf': + source => 'puppet:///modules/debian-org/root-dotfiles/tmux.conf', + } file { '/root/.vimrc': source => 'puppet:///modules/debian-org/root-dotfiles/vimrc', } -- 2.20.1