From 4e2493847ba6d0bb5e12dea8999a78e829b8984e Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Tue, 31 Oct 2023 18:55:47 +0100 Subject: tmux: Make config more comprehensive --- .config/tmux/tmux.conf | 34 ++++++++++++++++++++++++++++++++-- 1 file changed, 32 insertions(+), 2 deletions(-) (limited to '.config/tmux/tmux.conf') diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf index 7ad6652..4af1108 100644 --- a/.config/tmux/tmux.conf +++ b/.config/tmux/tmux.conf @@ -1,2 +1,32 @@ -set -g default-terminal "xterm-256color" -set-option -ga terminal-overrides ",xterm-256color:Tc" +# Make the status line a lot more minimal, and use the same colors as my Vim +# status line +set -g status-position top +set -g status-style 'fg=#908CAA,bg=#1F1D2E' +set -g status-left '#S | ' +set -g status-right '' +set -g window-status-format '#W' +set -g window-status-current-style 'fg=white' +set -g window-status-current-format '[#W]' +set -g window-status-separator ', ' + +# Offsets are 0 based, indicies are 1 based +set -g base-index 1 +setw -g pane-base-index 1 + +# I don’t really want a limit +set -g status-left-length 64 + +# Make colors appear properly +set -g default-terminal 'xterm-256color' +set-option -ga terminal-overrides ',xterm-256color:Tc' + +# Removes the need for numbers by the window names +set-option -g renumber-windows on + +# Change the prefix +set-option -g prefix C-Space +unbind-key C-b +bind-key C-Space send-prefix + +# Make killing the whole thing easier +bind-key q kill-session -- cgit v1.2.3