---
url: /api/@ufo-soft/caelus/keybindings/functions/keybindings.md
---
# Function: keybindings()

> **keybindings**(`registry`, `defaults`, `source?`): [`Keybindings`](../interfaces/Keybindings.md)

Defined in: [keybindings.ts:155](https://github.com/ufo-soft/caelus/blob/31cc32fc3d2008e3b0d484d65d10bba2a91a5897/packages/caelus/src/keybindings.ts#L155)

Wires defaults, an optional user source, and the registry into one reloadable handle.
Starts on defaults alone; call reload() to apply the source and learn whether it parsed.

## Parameters

### registry

[`Registry`](../../core/classes/Registry.md)

### defaults

[`Keymap`](../type-aliases/Keymap.md)

### source?

[`Source`](../type-aliases/Source.md)

## Returns

[`Keybindings`](../interfaces/Keybindings.md)
