Create tmux config file in your home directory:
touch ~/.tmux.conf
-
To enable mouse support:
set -g mouse on -
To enable 256color (to fix highlighting style in
zsh-autosuggestionsin my case):
set -g default-terminal screen-256color
To load configuration without restarting tmux, run this:
tmux source-file ~/.tmux.conf
Tested on tmux 3.1.