Search that feels immediate
Incremental reverse search over shell and prompt history, debounced and cached so each keystroke redraws cheaply.
I rebuilt Ctrl+R reverse search in Google's Gemini CLI as a reusable hook, so shell history and prompt history share one incremental search.
Incremental reverse search over shell and prompt history, debounced and cached so each keystroke redraws cheaply.
The original hook handled one history source; I refactored it into a provider serving both.
Context-aware windowing and expand/collapse around matched text, so the matching part is actually visible.