# status-keys

Source: https://libtmux.org/en/tmux/3.7c/catalog/options/status-keys/

> Use vi or emacs-style key bindings in the status line, for example at the command prompt.

option tmux3.7c

Use vi or emacs-style key bindings in the status line, for example at the command prompt.

* Scope

  session

* Type

  Choice

* Default

  `emacs`

* Values

  `emacs` `vi`

* Set

  [`set-option`](https://libtmux.org/en/tmux/3.7c/manual/set-option/) `status-keys value`

* Read

  [`show-options`](https://libtmux.org/en/tmux/3.7c/manual/show-options/) `status-keys`

## Description[#](https://libtmux.org/en/tmux/3.7c/catalog/options/status-keys/#description)

Use vi or emacs-style key bindings in the status line, for example at the command prompt. The default is emacs, unless the `VISUAL` or `EDITOR` environment variables are set and contain the string ‘`vi`’.

## Releases[#](https://libtmux.org/en/tmux/3.7c/catalog/options/status-keys/#releases)

* [tmux 3.7c](https://libtmux.org/en/tmux/3.7c/catalog/options/status-keys/) : present
* [tmux 3.2a](https://libtmux.org/en/tmux/3.2a/catalog/options/status-keys/) : present

## Source[#](https://libtmux.org/en/tmux/3.7c/catalog/options/status-keys/#source)

* Defined in

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

* C source reference

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

* CLI Manual

  [Original manual entry](https://libtmux.org/en/tmux/3.7c/manual/full/#options-status-keys)

## Used by[#](https://libtmux.org/en/tmux/3.7c/catalog/options/status-keys/#used-by)

Library documentation that names this option.

* Rust

  [`options.generated.STATUS_KEYS`](https://libtmux.org/en/rs/latest/reference/options-generated-status_keys/), [`session.Session.set_typed_option`](https://libtmux.org/en/rs/latest/reference/session-session-set_typed_option/)

* Go

  [`tmux.GlobalSessionScope.SetStatusKeys`](https://libtmux.org/en/go/latest/reference/tmux-globalsessionscope-setstatuskeys/), [`tmux.Session.SetStatusKeys`](https://libtmux.org/en/go/latest/reference/tmux-session-setstatuskeys/), [`tmux.SessionOptionValues.StatusKeys`](https://libtmux.org/en/go/latest/reference/tmux-sessionoptionvalues-statuskeys/), [`tmux.StatusKeys`](https://libtmux.org/en/go/latest/reference/tmux-statuskeys/)
