MiscellaneousOften bound to Prefix + r in configs
source-file
Short form: source
Execute commands from a file. This is typically used to reload the tmux configuration.
Synopsis
bash
tmux source-file [-Fnqv] pathOptions
| Flag | Description |
|---|---|
| -F | Expand format sequences in path |
| -n | Report errors but don't stop processing |
| -q | Quiet mode - don't report errors |
| -v | Verbose mode - show parsed commands |
Examples
Reload tmux config
bash
tmux source-file ~/.tmux.confShort form
bash
tmux source ~/.tmux.confDefault Keybinding
Often bound to Prefix + r in configs
Default prefix is Ctrl+b
Pro Tips
- •Add 'bind r source-file ~/.tmux.conf \; display "Reloaded!"' to your config
- •Changes to some options require a restart to take effect