> For the complete documentation index, see [llms.txt](/llms.txt).
> Markdown versions of each page are available by appending .md to any URL.

# Command Search

Search command history, Workflows, Prompts, and agent conversations with fuzzy matching.

The Command Search panel provides unified search across all your terminal inputs, saved commands, and [Terminal and Agent modes](/agents/local-agents/interacting-with-agents/terminal-and-agent-modes/) conversation history. Use it to quickly find and reuse commands, workflows, or past agent interactions.

![Command Search Panel](/_astro/command-search-panel.BfFjgrU7_1Aeuhb.webp?dpl=dpl_8aaWrvxJpAyG6Lq1MUKdR1ggnhbF)

Note

Tailor your Command Search experience by toggling off “Show Global Workflows” in **Settings** > **Features** > **Workflows**. When disabled, your search will exclusively encompass YAML and Warp Drive Workflows.

## Quickstart

1.  Press `Ctrl+R` to open the Command Search Panel
2.  Type your search query in the input box
3.  Press `Enter` to input the selected command into Warp’s Input Editor

If your shell has rebound `Ctrl+R` to its own history widget — for example **fzf**, **atuin**, or fish’s **PatrickF1/fzf.fish** — Warp hands that keypress off to the shell widget instead of opening Command Search. The same handoff applies to `Ctrl+T` when the shell has rebound it to a file-search widget such as fzf. Open Warp’s Command Search from the Command Palette when you need the unified panel (history, workflows, prompts, and agent conversations) while those shell widgets are installed.

## Search filters

You can filter your search results by prepending your search term with any of the following:

| Filter | Shortcuts |
| --- | --- |
| Command History | `history:`, `h:`, or `H-TAB` |
| Prompts | `prompts:`, `p:`, or `P-TAB` |
| [Agent Mode](/agents/local-agents/interacting-with-agents/) History | `ai_history:`, `a:`, or `A-TAB` |

Note

When a filter is activated, it will be bolded and italicized in the search panel.

## Additional features

-   You can expand the menu horizontally by dragging the right edge
-   The panel supports fuzzy search and ranks results by relevance

## How it works
