Reload tmux configuration

misc

// what it does

Re-reads `~/.tmux.conf` and applies it to the running server without restarting. Use the shell form `tmux source-file ~/.tmux.conf` from outside, or `:source-file ~/.tmux.conf` from the command prompt inside tmux. Binding this to a key (e.g. `bind r source-file ~/.tmux.conf`) is the standard way to iterate on your config live.

// shell

$ tmux source-file ~/.tmux.conf

// tmux command

: source-file ~/.tmux.conf

// gotcha

Sourcing is additive: it applies whatever the file sets but does not reset options you removed or reverse side-effects like already-created key bindings, so a full config change sometimes needs a fresh server (`tmux kill-server`) to take clean effect.