# tree-mode-preview-format

Source: https://libtmux.org/en/tmux/latest/catalog/options/tree-mode-preview-format/

> Format of the preview indicator in tree mode.

option tmux3.7c

Format of the preview indicator in tree mode.

* Scope

  window, pane

* Type

  Text

* Default

  `#{?pane_format,#{pane_index}:#{pane_title},#{window_index}:#{window_name}}`

* Set

  [`set-option`](https://libtmux.org/en/tmux/latest/manual/set-option/) `-w tree-mode-preview-format value`

* Read

  [`show-options`](https://libtmux.org/en/tmux/latest/manual/show-options/) `-w tree-mode-preview-format`

## Description[#](https://libtmux.org/en/tmux/latest/catalog/options/tree-mode-preview-format/#description)

Format of the preview indicator in tree mode.

## Releases[#](https://libtmux.org/en/tmux/latest/catalog/options/tree-mode-preview-format/#releases)

* [tmux 3.7c](https://libtmux.org/en/tmux/3.7c/catalog/options/tree-mode-preview-format/) : present
* tmux 3.2a : not present

## Source[#](https://libtmux.org/en/tmux/latest/catalog/options/tree-mode-preview-format/#source)

* Defined in

  [`options-table.c:1491`](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/options-table.c#L1491)

* C source reference

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

* CLI Manual

  [Original manual entry](https://libtmux.org/en/tmux/latest/manual/full/#options-tree-mode-preview-format)

## Used by[#](https://libtmux.org/en/tmux/latest/catalog/options/tree-mode-preview-format/#used-by)

Library documentation that names this option.

* Rust

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

* Go

  [`tmux.GlobalWindowScope.SetTreeModePreviewFormat`](https://libtmux.org/en/go/latest/reference/tmux-globalwindowscope-settreemodepreviewformat/), [`tmux.Pane.SetTreeModePreviewFormat`](https://libtmux.org/en/go/latest/reference/tmux-pane-settreemodepreviewformat/), [`tmux.PaneOptionValues.TreeModePreviewFormat`](https://libtmux.org/en/go/latest/reference/tmux-paneoptionvalues-treemodepreviewformat/), [`tmux.Window.SetTreeModePreviewFormat`](https://libtmux.org/en/go/latest/reference/tmux-window-settreemodepreviewformat/), [`tmux.WindowOptionValues.TreeModePreviewFormat`](https://libtmux.org/en/go/latest/reference/tmux-windowoptionvalues-treemodepreviewformat/)
