From 7a208e3c697e1a417b78a69622957e1d2c188884 Mon Sep 17 00:00:00 2001 From: Timo Wilken Date: Sun, 8 Jan 2023 14:54:35 +0100 Subject: Install tmux configuration --- tw/home/common.scm | 1 + tw/home/files/tmux.conf | 29 +++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 tw/home/files/tmux.conf (limited to 'tw/home') diff --git a/tw/home/common.scm b/tw/home/common.scm index b90d4bc5..5b61e587 100644 --- a/tw/home/common.scm +++ b/tw/home/common.scm @@ -44,6 +44,7 @@ ("htop/htoprc" ,(local-file "files/htoprc")) ("lesskey" ,(local-file "files/lesskey")) ("ranger/rc.conf" ,(local-file "files/ranger.conf")) + ("tmux/tmux.conf" ,(local-file "files/tmux.conf")) ("user-dirs.locale" ,(plain-file "user-dirs.locale" "C")) ; Not sure if this is needed. Arch has it. ("user-dirs.dirs" ,(local-file "files/user-dirs.dirs")))) 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 -- cgit v1.2.3