TanStack
App Hotkeys API Reference

useCustomHotkeys

ts
function useCustomHotkeys(): UseCustomHotkeysResult;

Defined in: useAppHotkeys.ts:87

Reads and changes the user's custom hotkeys. Changes apply to every registered app hotkey immediately and are emitted by the provider as custom-hotkeys-change, ready to save.

Returns

UseCustomHotkeysResult