ship a tmux.conf
authorPeter Palfrader <peter@palfrader.org>
Fri, 4 Nov 2016 09:35:06 +0000 (10:35 +0100)
committerPeter Palfrader <peter@palfrader.org>
Fri, 4 Nov 2016 09:35:06 +0000 (10:35 +0100)
modules/debian-org/files/root-dotfiles/tmux.conf [new file with mode: 0644]
modules/debian-org/manifests/init.pp

diff --git a/modules/debian-org/files/root-dotfiles/tmux.conf b/modules/debian-org/files/root-dotfiles/tmux.conf
new file mode 100644 (file)
index 0000000..3964c70
--- /dev/null
@@ -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
index 7cec647..8d64f84 100644 (file)
@@ -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',
        }