aboutsummaryrefslogtreecommitdiffstats
path: root/roles/common/files/tmux.conf
diff options
context:
space:
mode:
authorbinary <me@rgoncalves.se>2020-11-02 13:20:53 +0100
committerbinary <me@rgoncalves.se>2020-11-02 13:20:53 +0100
commit67c0e448276e46fafd47db73dfc0031786a18dc0 (patch)
treefa7635500542cab95325907f9a0b173bf621f74f /roles/common/files/tmux.conf
parent1e059c8be273e090ed27a198e1b7b7ca5c0257b3 (diff)
downloadinfrastructure-67c0e448276e46fafd47db73dfc0031786a18dc0.tar.gz
Refactor utils and hostname to common role
Diffstat (limited to 'roles/common/files/tmux.conf')
-rw-r--r--roles/common/files/tmux.conf24
1 files changed, 24 insertions, 0 deletions
diff --git a/roles/common/files/tmux.conf b/roles/common/files/tmux.conf
new file mode 100644
index 0000000..2816065
--- /dev/null
+++ b/roles/common/files/tmux.conf
@@ -0,0 +1,24 @@
+# /etc/tmux.conf ~~ rgoncalves.se infrastructure
+
+# keybinds
+unbind C-b
+set -g prefix `
+bind-key n last-window
+bind-key m send-prefix
+bind-key ` last-window
+bind-key e send-prefix
+
+# options
+set -sg escape-time 0
+set -g mouse off
+set -g default-terminal "screen-256color"
+set -g status-right-length 50
+set -g status-left-length 20
+set-option -g history-limit 5000
+setw -g mode-keys vi
+
+# statusbar
+set -g status-position bottom
+set -g status-bg colour255
+set -g status-fg colour235
+
remember that computers suck.