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

> **resolve**(`defaults`, `patch`, `registry`): [`Table`](../type-aliases/Table.md)

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

Merge patch over defaults per canonical chord. UNBIND and unknown commands remove the chord.

## Parameters

### defaults

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

### patch

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

### registry

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

## Returns

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