summaryrefslogtreecommitdiff
path: root/tw/home/files/tmux.conf
diff options
context:
space:
mode:
authorTimo Wilken2023-01-08 14:54:35 +0100
committerTimo Wilken2023-01-08 14:54:35 +0100
commit7a208e3c697e1a417b78a69622957e1d2c188884 (patch)
treef5be6e96ab90a4021e16cccbbf5702670be52851 /tw/home/files/tmux.conf
parent3cc194f203d706c4aeb5e85c158c70265127e532 (diff)
Install tmux configuration
Diffstat (limited to 'tw/home/files/tmux.conf')
-rw-r--r--tw/home/files/tmux.conf29
1 files changed, 29 insertions, 0 deletions
diff --git a/tw/home/files/tmux.conf b/tw/home/files/tmux.conf
new file mode 100644
index 00000000..f5a2379c
--- /dev/null
+++ b/tw/home/files/tmux.conf
@@ -0,0 +1,29 @@
+set -g prefix C-a
+bind C-a send-prefix
+unbind C-b
+
+# reload tmux config
+bind r source-file "${XDG_CONFIG_HOME}/tmux/tmux.conf"
+
+set -g default-command "${SHELL}"
+
+set -g set-titles on
+set -g set-titles-string '#T (tmux:#S:#W)'
+
+set -s escape-time 0
+
+# status bar
+set -g status-bg colour8
+set -g status-fg white
+set -g status-justify left
+set -g status-right '#[fg=colour10]#S:#I:#P #[fg=colour14]#{t:client_activity}'
+
+# keymap
+unbind-key j
+bind-key j select-pane -D
+unbind-key k
+bind-key k select-pane -U
+unbind-key h
+bind-key h select-pane -L
+unbind-key l
+bind-key l select-pane -R