# word-separators

Source: https://libtmux.org/en/tmux/3.2a/catalog/options/word-separators/

> Sets the session's conception of what characters are considered word separators, for the purposes of the next and previous word commands in copy mode.

option tmux3.2a

Sets the session's conception of what characters are considered word separators, for the purposes of the next and previous word commands in copy mode.

* Scope

  session

* Type

  Text

* Default

  ``

* Set

  [`set-option`](https://libtmux.org/en/tmux/3.2a/manual/set-option/) `word-separators value`

* Read

  [`show-options`](https://libtmux.org/en/tmux/3.2a/manual/show-options/) `word-separators`

## Description[#](https://libtmux.org/en/tmux/3.2a/catalog/options/word-separators/#description)

Sets the session's conception of what characters are considered word separators, for the purposes of the next and previous word commands in copy mode. The default is ‘` -_@`’.

## Releases[#](https://libtmux.org/en/tmux/3.2a/catalog/options/word-separators/#releases)

* [tmux 3.7c](https://libtmux.org/en/tmux/3.7c/catalog/options/word-separators/) : default to !"#$%&'()\*+,-./:;<=>?@\[\\]^\`{|}\~
* [tmux 3.2a](https://libtmux.org/en/tmux/3.2a/catalog/options/word-separators/) : present

## Source[#](https://libtmux.org/en/tmux/3.2a/catalog/options/word-separators/#source)

* Defined in

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

* 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-word-separators)

## Used by[#](https://libtmux.org/en/tmux/3.2a/catalog/options/word-separators/#used-by)

Library documentation that names this option.

* Rust

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

* Go

  [`tmux.GlobalSessionScope.SetWordSeparators`](https://libtmux.org/en/go/latest/reference/tmux-globalsessionscope-setwordseparators/), [`tmux.Session.SetWordSeparators`](https://libtmux.org/en/go/latest/reference/tmux-session-setwordseparators/), [`tmux.SessionOptionValues.WordSeparators`](https://libtmux.org/en/go/latest/reference/tmux-sessionoptionvalues-wordseparators/)
