COMMAND_PALETTE_DEFAULT_HOTKEY
const
Components
Default global hotkey combinations for OrigamCommandPalette. Registers both ⌘+K (macOS) and Ctrl+K (Windows/Linux) so the palette works cross-platform without consumer branching.
TypeScript
Definition
The TypeScript definition as found in the origam source. Click the copy icon to copy the snippet.
Entries
Values
All entries in this constant. Click a value to copy it to clipboard.
- ['meta', 'k']
- ⌘+K on macOS / Windows key + K.
- ['ctrl', 'k']
- Ctrl+K on Windows and Linux.
Ecosystem
Used by
Composables and components that consume this constant.
OrigamCommandPalette
useCommand
useHotkey
Usage
Examples
Ready-to-paste code snippets using this constant.
Overriding the default hotkey