diff options
author | Thomas Voss <mail@thomasvoss.com> | 2023-10-31 18:55:47 +0100 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2023-10-31 18:55:47 +0100 |
commit | 4e2493847ba6d0bb5e12dea8999a78e829b8984e (patch) | |
tree | 227cfda508f462a49b5d554894681fc283295768 /.config/tmux | |
parent | 2e4ab474c0feea58c3897cf44e334789feb5aa1e (diff) |
tmux: Make config more comprehensive
Diffstat (limited to '.config/tmux')
-rw-r--r-- | .config/tmux/tmux.conf | 34 |
1 files changed, 32 insertions, 2 deletions
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 |