# initial-repeat-time

Source: https://libtmux.org/en/tmux/latest/catalog/options/initial-repeat-time/

> Set the time in milliseconds for the initial repeat when a key is bound with the -r flag.

option tmux3.7c

Set the time in milliseconds for the initial repeat when a key is bound with the -r flag.

* Scope

  session

* Type

  Number

* Default

  `0`

* Values

  0 to 2000000 milliseconds

* Set

  [`set-option`](https://libtmux.org/en/tmux/latest/manual/set-option/) `initial-repeat-time value`

* Read

  [`show-options`](https://libtmux.org/en/tmux/latest/manual/show-options/) `initial-repeat-time`

## Description[#](https://libtmux.org/en/tmux/latest/catalog/options/initial-repeat-time/#description)

Set the time in milliseconds for the initial repeat when a key is bound with the `-r` flag. This allows multiple commands to be entered without pressing the prefix key again. See also the [`repeat-time`](https://libtmux.org/en/tmux/latest/catalog/options/repeat-time/) option. If `initial-repeat-time` is zero, [`repeat-time`](https://libtmux.org/en/tmux/latest/catalog/options/repeat-time/) is used for the first key press.

## Releases[#](https://libtmux.org/en/tmux/latest/catalog/options/initial-repeat-time/#releases)

* [tmux 3.7c](https://libtmux.org/en/tmux/3.7c/catalog/options/initial-repeat-time/) : present
* tmux 3.2a : not present

## Source[#](https://libtmux.org/en/tmux/latest/catalog/options/initial-repeat-time/#source)

* Defined in

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

* 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-initial-repeat-time)

## Used by[#](https://libtmux.org/en/tmux/latest/catalog/options/initial-repeat-time/#used-by)

Library documentation that names this option.

* Rust

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

* Go

  [`tmux.GlobalSessionScope.SetInitialRepeatTime`](https://libtmux.org/en/go/latest/reference/tmux-globalsessionscope-setinitialrepeattime/), [`tmux.Session.SetInitialRepeatTime`](https://libtmux.org/en/go/latest/reference/tmux-session-setinitialrepeattime/), [`tmux.SessionOptionValues.InitialRepeatTime`](https://libtmux.org/en/go/latest/reference/tmux-sessionoptionvalues-initialrepeattime/)
