Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Preset Prompts

Preset Prompts are reusable prompt templates that you can insert into the prompt buffer with a single keybinding. They are useful for frequently repeated instructions – things like “review this file for bugs”, “add tests for the selected function”, or “refactor to reduce complexity”. You can define up to 10 presets, each accessible by a dedicated Alt+number shortcut.


Quick-Select

The fastest way to use a preset is the direct shortcut:

KeyAction
Alt+1 through Alt+9Insert preset 1-9 directly
Alt+0Insert preset 10 directly

These shortcuts work in prompt mode only and skip the picker entirely. The preset text is inserted into the prompt buffer immediately.


The Picker

Press Alt+P in prompt mode to open the preset prompt picker. The picker shows all defined presets with their position numbers and scope badges.

KeyAction
1-9, 0Quick-select by number
EnterInsert the highlighted preset
aAdd a new preset
eEdit the highlighted preset
dDelete the highlighted preset (prompts y/n confirmation)

Each preset in the picker displays a G (global) or P (project) badge indicating its scope.


Dual Scope

Presets support two scopes, just like Run Commands:

ScopeConfig FileBadge
Global~/.azureal/azufig.tomlG
Project.azureal/azufig.toml (in project root)P

Press Ctrl+S in the preset dialog to toggle between global and project scope.

Global presets are available everywhere. Project-local presets are specific to the current project and override global presets at the same position number.


Hint Display

A hint is shown in the prompt title bar reminding you that preset prompts are available. This serves as a passive reminder of the feature without requiring you to memorize the keybinding.


Quick Reference

Alt+P         Open preset prompt picker (prompt mode only)
Alt+1 - Alt+9 Quick-select preset 1-9 (prompt mode only)
Alt+0         Quick-select preset 10 (prompt mode only)
Ctrl+S        Toggle global/project scope (in dialog)