Testing out settings in your tmux.conf file would be a pain if you had to kill and restart tmux each time.
You see the changes you made by sourcing
~/.tmux.conf. To source the fie you need to be in command mode. To start the command mode use
<prefix> :. Now type in
:source-file ~/.tmux.conf and hit enter. This should affect all your tmux sessions. Restarting the tmux server shouldn’t be necessary.
Reload config with key binding
If you do this frequently you might want to bind the
source-file command to a key combination.
By adding the following binding to the
~/.tmux.conf file you can reload the configuration with
bind r source-file ~/.tmux.conf; display-message "Reloaded config"
A great resource for learning more about tmux are its man pages. You can read them online here or from the command-line using the following command:
$ man tmux
Or take a look at this book: