Sane defaults for tmux with more visible statusbar

note, May 25, 2023, on Mitja Felicijan's blog

# Remap prefix from 'C-b' to 'M-a'.
unbind C-b
set-option -g prefix M-a
bind-key M-a send-prefix

# Split panes using | and -.
bind | split-window -h
bind - split-window -v
unbind '"'
unbind %

# Start counting windows with 1.
set-option -g allow-rename on
set -g base-index 1
setw -g pane-base-index 1

# Statusbar: purple bg and white fg.
set -g status-bg '#480b8e'
set -g status-fg '#ffffff'

# Active window: black bg and white fg. 
set -g window-status-current-format "#[fg=#ffffff]#[bg=#111111]#[fg=#ffffff]#[bg=#111111] #I:#W #[fg=#ffffff]#[bg=#111111]"

# Disable mouse mode (tmux 2.1 and above).
set -g mouse off

Other notes

DateTitle
Personal sane Vim defaultsvim
Aerial photography of algae spotted on river Sava
Install Plan9port on Linuxplan9
Dungeon Crawl Stone Soup - New player guidedcss
Push to multiple origins at once in Git
Lua performance in different environments
My brand new Plan9/9front desktopplan9
#cat-v on weechat configuration
Run 9front in Qemuplan9
Execute not blocking async shell command in C#
Minimal desktop setup with cwm and conky
Sane default for Dungeon Crawl Stone Soup Online editiondcss
Development environments with Nix
Make B/W SVG charts with matplotlib
Easy measure time took in a bash script