# copy-mode-line-numbers

Source: https://libtmux.org/en/tmux/latest/catalog/options/copy-mode-line-numbers/

> Show line numbers in copy mode.

option tmux3.7c

Show line numbers in copy mode.

* Scope

  window

* Type

  Choice

* Default

  `off`

* Values

  `off` `default` `absolute` `relative` `hybrid`

* Set

  [`set-option`](https://libtmux.org/en/tmux/latest/manual/set-option/) `-w copy-mode-line-numbers value`

* Read

  [`show-options`](https://libtmux.org/en/tmux/latest/manual/show-options/) `-w copy-mode-line-numbers`

## Description[#](https://libtmux.org/en/tmux/latest/catalog/options/copy-mode-line-numbers/#description)

Show line numbers in copy mode. `off` hides line numbers, `default` shows line numbers matching the copy mode position indicator and `goto-line`, `absolute` shows absolute line numbers, `relative` shows line numbers relative to the cursor, and `hybrid` shows the current line number as absolute and other line numbers as relative. With `off` or `default`, the position indicator and `goto-line` use the same numbering; with `absolute`, `relative` and `hybrid`, they use absolute line numbers.

## Releases[#](https://libtmux.org/en/tmux/latest/catalog/options/copy-mode-line-numbers/#releases)

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

## Source[#](https://libtmux.org/en/tmux/latest/catalog/options/copy-mode-line-numbers/#source)

* Defined in

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

* 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-copy-mode-line-numbers)

## Used by[#](https://libtmux.org/en/tmux/latest/catalog/options/copy-mode-line-numbers/#used-by)

Library documentation that names this option.

* Rust

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

* Go

  [`tmux.CopyModeLineNumbers`](https://libtmux.org/en/go/latest/reference/tmux-copymodelinenumbers/), [`tmux.GlobalWindowScope.SetCopyModeLineNumbers`](https://libtmux.org/en/go/latest/reference/tmux-globalwindowscope-setcopymodelinenumbers/), [`tmux.Window.SetCopyModeLineNumbers`](https://libtmux.org/en/go/latest/reference/tmux-window-setcopymodelinenumbers/), [`tmux.WindowOptionValues.CopyModeLineNumbers`](https://libtmux.org/en/go/latest/reference/tmux-windowoptionvalues-copymodelinenumbers/)
