From 23769cddc91b82014ebce26d4a1566fd48de57b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20M=C3=BCller?= Date: Mon, 27 Oct 2025 19:30:00 +0000 Subject: [PATCH] Add tmux config with vim nav and status bar --- tmux.conf | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 tmux.conf diff --git a/tmux.conf b/tmux.conf new file mode 100644 index 0000000..2b20b9a --- /dev/null +++ b/tmux.conf @@ -0,0 +1,32 @@ +# Tmux config + +# Prefix +set -g prefix C-a +unbind C-b +bind C-a send-prefix + +# Quality of life +set -g mouse on +set -g history-limit 50000 +set -g default-terminal "tmux-256color" +set -ag terminal-overrides ",xterm-256color:RGB" +set -g escape-time 0 +set -g focus-events on + +# Windows and panes +set -g base-index 1 +setw -g pane-base-index 1 +set -g renumber-windows on + +# Vim-style navigation +bind h select-pane -L +bind j select-pane -D +bind k select-pane -U +bind l select-pane -R +bind | split-window -h -c "#{pane_current_path}" +bind - split-window -v -c "#{pane_current_path}" + +# Status bar +set -g status-style bg=default +set -g status-left "#[fg=blue,bold] #S " +set -g status-right "#[fg=cyan] %H:%M #[fg=white]│ #[fg=green]%d.%m.%Y "