Create a configure file in your $HOME
path .tmux.conf
# this will enable mouse scrolling, panel exchanging, and mouse selecting and copying
set -g mouse on
Then enter the following command in tmux
to enable the configuration.
:source-file $HOME/.tmux.conf