Search code examples
tmux

How to set the color of tmux copy-mode's highlight?


I recently changed my tmux colorscheme and succeeded in setting the colors for the statusbar and clock-mode as well as for the tmux command line.

However, I failed to find an option on how to set the highlighting color of the copy-mode.

Is there such an option?


Solution

  • tmux uses the window option mode-style for the copy-mode highlighting.

    You can use set-window-option -g mode-style [your style] like you would with any other color setting.

    mode-style is used in a handful of other places, such as the selection highlighting when using the choose-window and choose-session commands.