# copy-mode-match-style

Source: https://libtmux.org/en/tmux/3.2a/catalog/options/copy-mode-match-style/

> Set the style of search matches in copy mode.

option tmux3.2a

Set the style of search matches in copy mode.

* Scope

  window

* Type

  Text, style

* Default

  `bg=cyan,fg=black`

* Separator

  `,`

* Set

  [`set-option`](https://libtmux.org/en/tmux/3.2a/manual/set-option/) `-w copy-mode-match-style value`

* Read

  [`show-options`](https://libtmux.org/en/tmux/3.2a/manual/show-options/) `-w copy-mode-match-style`

## Description[#](https://libtmux.org/en/tmux/3.2a/catalog/options/copy-mode-match-style/#description)

Set the style of search matches in copy mode. For how to specify `style`, see the [STYLES](https://libtmux.org/en/tmux/3.2a/manual/full/#STYLES) section.

## Releases[#](https://libtmux.org/en/tmux/3.2a/catalog/options/copy-mode-match-style/#releases)

* [tmux 3.7c](https://libtmux.org/en/tmux/3.7c/catalog/options/copy-mode-match-style/) : present
* [tmux 3.2a](https://libtmux.org/en/tmux/3.2a/catalog/options/copy-mode-match-style/) : present

## Source[#](https://libtmux.org/en/tmux/3.2a/catalog/options/copy-mode-match-style/#source)

* Defined in

  [`options-table.c:809`](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/options-table.c#L809)

* C source reference

  [`options_table`](https://libtmux.org/en/tmux/3.2a/reference/c-variable-options_table/)

* CLI Manual

  [Original manual entry](https://libtmux.org/en/tmux/3.2a/manual/full/#options-copy-mode-match-style)

## Used by[#](https://libtmux.org/en/tmux/3.2a/catalog/options/copy-mode-match-style/#used-by)

Library documentation that names this option.

* Rust

  [`options.generated.COPY_MODE_MATCH_STYLE`](https://libtmux.org/en/rs/latest/reference/options-generated-copy_mode_match_style/)

* Go

  [`tmux.GlobalWindowScope.SetCopyModeMatchStyle`](https://libtmux.org/en/go/latest/reference/tmux-globalwindowscope-setcopymodematchstyle/), [`tmux.Window.SetCopyModeMatchStyle`](https://libtmux.org/en/go/latest/reference/tmux-window-setcopymodematchstyle/), [`tmux.WindowOptionValues.CopyModeMatchStyle`](https://libtmux.org/en/go/latest/reference/tmux-windowoptionvalues-copymodematchstyle/)
