This config works for me. You probably haven't restarted your
tmux server yet.
man 1 tmux:
tmux, a session is displayed on screen by a client and all sessions are managed by a single server. The server and each client are separate processes which communicate through a socket in
One method is to terminate everything inside
tmux ls yields "no server running …". At this moment the next
tmux command will start it anew, loading your new config file.
Also read this: Tmux not sourcing my .tmux.conf. According to one of the answers, this should work without the need of restarting the server:
This can also be done from within
tmux, by pressing Ctrl+B (prefix key) and then : to bring up a command prompt, and typing: