From: Peter Palfrader Date: Fri, 4 Nov 2016 09:35:06 +0000 (+0100) Subject: ship a tmux.conf X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=e6ec7c73695982be0d766f00bfbeddb882e2a3ca;p=mirror%2Fdsa-puppet.git ship a 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', }