# LIST_KEYS_TEMPLATE

- **Language:** C
- **Kind:** constant
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-list-keys.c#L30
- **Page:** https://libtmux.org/en/tmux/latest/reference/c-define-cmd-list-keys-c-list_keys_template/

```c
#define LIST_KEYS_TEMPLATE "#{?notes_only,"                    \
"#{key_prefix} "                    \
"#{p|#{key_string_width}:key_string} "          \
"#{?key_note,#{key_note},#{key_command}}"       \
","                         \
"bind-key #{?key_has_repeat,#{?key_repeat,-r,  },} "    \
"-T #{p|#{key_table_width}:key_table} "         \
"#{p|#{key_string_width}:#{q|a:key_string}} "       \
"#{key_command}}"
```

## Referenced by

- [`cmd_list_keys_exec`](/en/tmux/latest/reference/c-function-cmd-list-keys-c-cmd_list_keys_exec/) (function)

## Referenced declarations

- [`key_table`](/en/tmux/latest/reference/c-struct-key_table/) (struct)
