Opening the palette
By default, HotkeyPad opens with Cmd+K (macOS) or Ctrl+K (Windows/Linux).The activation key is automatically detected based on the user’s operating system.
Navigating commands
Once the palette is open, use these keys to navigate:Move to the next command in the list. Wraps to the first command when at the bottom.
Move to the previous command. Wraps to the last command when at the top.
Move to the next command (same as ArrowDown). Provides an alternative navigation method.
Selecting commands
Executes the currently highlighted command and closes the palette.
- Click any command to execute it
- Use the command’s hotkey combination (e.g., Ctrl+S) while the palette is open
Closing the palette
Closes the command palette without executing any command. This is the default close key.
- Press the activation key again (Cmd+K or Ctrl+K) to toggle close
- Click the backdrop (area outside the palette)
Mouse interaction
While HotkeyPad is keyboard-focused, it supports mouse interaction:- Hover over a command to highlight it
- Click a command to execute it
- Click the backdrop to close the palette
When you hover over a command with your mouse, it becomes the active selection. Keyboard navigation will continue from that command.
Search and filter
The search input is automatically focused when the palette opens. Start typing to filter commands:- Case-insensitive search
- Matches partial text in command titles
- Hides sections with no matching commands
- Shows an empty state message when no results found
Navigation behavior
Circular navigation
Navigation wraps around at the boundaries:- ArrowDown on the last item → jumps to first item
- ArrowUp on the first item → jumps to last item
- Tab on the last item → jumps to first item
Active state management
HotkeyPad maintains an active command indicator:- First command is active by default when palette opens
- Arrow keys and Tab update the active state
- Mouse hover overrides keyboard selection
- Active command scrolls into view automatically
Input focus
The search input receives focus automatically:- When the palette opens (after 200ms)
- Keyboard navigation works even when input is focused
- No need to blur the input to use arrow keys
Example workflow
Typical user interaction
Typical user interaction
- User presses Cmd+K to open the palette
- Search input is automatically focused
- User types “new” to filter commands
- Press ArrowDown to navigate to “New project”
- Press Enter to execute the command
- Palette closes and handler runs