# LibTmux.BindKeyRequest.BindKeyRequest

- **Module:** LibTmux.BindKeyRequest
- **Package:** LibTmux
- **Language:** .NET
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/6656a563ec9e07ab52e0c3ac96f7704fc94cc0c0/src/LibTmux/Requests/BindKeyRequest.cs#L14
- **Page:** https://libtmux.org/reference/dotnet/libtmux-bindkeyrequest-bindkeyrequest/

```
LibTmux.BindKeyRequest.BindKeyRequest(key: string, command: IReadOnlyList<string>, keyTable: string?, note: string?, repeat: bool)
```

Initializes a key binding.

## Parameters

- `key` (string) — The key to bind.
- `command` (IReadOnlyList<string>) — The tmux command and its arguments.
- `keyTable` (string?) — The key table, or null for the prefix table.
- `note` (string?) — A note describing the binding.
- `repeat` (bool) — Whether the key may repeat without the prefix.
