-
-
Notifications
You must be signed in to change notification settings - Fork 0
Command Palette
Eshan Roy edited this page Jun 18, 2026
·
1 revision
The Command Palette is a full-screen searchable command browser available in M31 Autonomous (M31A).
Source: internal/tui/commandpalette_model.go
Press Ctrl+P to open. All registered slash commands appear with fuzzy search support. The palette features a split-panel layout:
- Left panel: Searchable command list with fuzzy matching
- Right panel: Command details (description, usage, category)
- Fuzzy search -- Type to filter commands by name or description
-
Keyboard navigation -- Arrow keys or
j/kto navigate,Enterto select - Category grouping -- Commands organized by category (core, workflow, AI, git, etc.)
- Responsive layout -- Adapts to terminal width with minimum size enforcement
- Theme integration -- Uses the active theme for consistent styling
- Press
Ctrl+Pto open the command palette - Type to filter commands (fuzzy matching)
- Use arrow keys or
j/kto navigate the list - Press
Enterto execute the selected command - Press
Escto close the palette
| Key | Action |
|---|---|
Ctrl+P |
Open command palette |
Up/Down or j/k
|
Navigate command list |
Enter |
Execute selected command |
Esc |
Close palette |
| Type | Filter commands |
ScreenCommandPalette = 30| File | Purpose |
|---|---|
internal/tui/commandpalette_model.go |
Full-screen command palette model (524 lines) |
internal/tui/cmdpalette.go |
Legacy inline command palette overlay |
internal/tui/commands/commands.go |
Command registry and DefaultCommands()
|