# LibTmux.BindKeyRequest.BindKeyRequest

- **Module:** LibTmux.BindKeyRequest
- **Package:** LibTmux
- **Language:** .NET
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/320dc64f4b8b7815842471327a5e6b84a1499bf8/src/LibTmux/Requests/BindKeyRequest.cs#L11
- **Page:** https://libtmux.org/en/dotnet/latest/reference/libtmux-bindkeyrequest-bindkeyrequest/

```
LibTmux.BindKeyRequest.BindKeyRequest(key: string, command: IReadOnlyList<string>)
```

Initializes a key binding.

## Parameters

- `key` (string): The key to bind.
- `command` (IReadOnlyList<string>): The tmux command and its arguments.
