Skip to content
BENIBIX Learn

Ctrl+R Shortcut

AI⌨️ Claude CodeKeyboard Shortcuts

Also known as Ctrl+R, reverse history search, search past prompts

The key that searches your past prompts by a word you remember.

Think of it like

It is like going back through a notebook to find a note.

Example

Mia wrote a good test prompt last week. She presses Ctrl+R, types coverage, and it comes back.

Why it matters

Good prompts are worth using again, and you do not have to type them twice.

Definition

Ctrl+R is the Claude Code shortcut that searches your past prompts. Type a word, and the newest match shows in the prompt. Press Ctrl+R again for older ones. Tab or Esc keeps the match to edit, Enter sends it, and Ctrl+C gives up. In the full-screen view it opens a list you can scope to this session, this project or all projects.

Common mistake

Pressing Enter to edit the match. Enter sends it, so press Tab to edit.

Key takeaways

  1. 1
    Search past prompts. By a word.
  2. 2
    Again for older. Press Ctrl+R.
  3. 3
    Tab edits, Enter sends. Ctrl+C cancels.

Learn it properly