# useHotkeySequenceRecorder

# Function: useHotkeySequenceRecorder()

```ts
function useHotkeySequenceRecorder(options): PreactHotkeySequenceRecorder;
```

Defined in: [useHotkeySequenceRecorder.ts:23](https://github.com/TanStack/hotkeys/blob/main/packages/preact-hotkeys/src/useHotkeySequenceRecorder.ts#L23)

Preact hook for recording multi-chord sequences (Vim-style shortcuts).

## Parameters

### options

`HotkeySequenceRecorderOptions`

## Returns

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