aboutsummaryrefslogtreecommitdiff
path: root/tw/home/files
diff options
context:
space:
mode:
Diffstat (limited to 'tw/home/files')
-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