tmuxtmuxOptions, hooks and formats

Choose documentation 1

latest

tmux catalog version

Latest (3.7c) 3.7c 3.2a
English

option tmux3.7c

copy-mode-line-numbers

Show line numbers in copy mode.

Scope
window
Type
Choice
Default
off
Values
off default absolute relative hybrid
Set
set-option -w copy-mode-line-numbers value
Read
show-options -w 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#

  • tmux 3.7c : present
  • tmux 3.2a : not present

Source#

Defined in
options-table.c:1226
C source reference
options_table
CLI Manual
Original manual entry

Used by#

Library documentation that names this option.

Rust
options.generated.COPY_MODE_LINE_NUMBERS
Go
tmux.CopyModeLineNumbers, tmux.GlobalWindowScope.SetCopyModeLineNumbers, tmux.Window.SetCopyModeLineNumbers, tmux.WindowOptionValues.CopyModeLineNumbers
Esc

Type to search.

Reference preview Open reference