Skip to content

[DOCS] Chat keybinding change: Ctrl+R opens fuzzy prompt history search, raw markdown toggle moved to Ctrl+M #868

Closed

Description

Summary: infer's chat TUI now uses Ctrl+R for a fuzzy prompt history search and moves the raw/rendered markdown toggle to Ctrl+M (Alt+M fallback). The CLI PR already updates docs/configuration-reference.md inside this repository, but the docs repo should mirror the change wherever chat keybindings are documented elsewhere (getting started flows, keyboard shortcut cheat sheets, TUI pages, screenshots).

Affected pages: any docs-repo pages listing chat keyboard shortcuts or the raw markdown toggle, and the docs-repo copy of the configuration/keybinding reference if one exists.

This is the user-facing behavior change shipped by PR inference-gateway/cli#1417 (issue inference-gateway/cli#1412):

  • Ctrl+R now opens a fuzzy search over the project prompt history (type to filter, up/down to select, Enter loads the prompt into the input for editing without sending it, Esc cancels).
  • The raw/rendered markdown toggle moved from Ctrl+R to Ctrl+M, with alt+m as a fallback that works in every terminal. In terminals without the Kitty keyboard protocol, Ctrl+M is reported as Enter, so alt+m is the reliable toggle there.
  • infer keybindings list now shows the new text_editing_history_search action, and display_toggle_raw_format defaults to ctrl+m plus alt+m.

Acceptance Criteria

  • The in-repo docs/configuration-reference.md documents the new text_editing_history_search action and the display_toggle_raw_format default change (done in PR 1417).
  • Docs repo pages that list chat shortcuts mention the Ctrl+R history search and the Ctrl+M / Alt+M markdown toggle.
  • Docs repo screenshots or shortcut cheat sheets that show the old Ctrl+R markdown toggle are updated.
  • The muscle-memory change is called out in release notes / changelog entries for the next infer release.

Activity

  1. added
    documentation
    on Sep 29, 2026
  2. moved this to Todo in 2026on Sep 30, 2026
  3. added theissue type on Sep 30, 2026
  4. edenreich commented on Sep 30, 2026

    @edenreich
    Contributor

    @claude Can you document this feature?

  5. inference-gateway-maintainer commented on Sep 30, 2026

    @inference-gateway-maintainer
    ContributorAuthor

    Claude finished @edenreich's task in 2m 39s —— View job • docs/issue-868-20260930-0001 • Create PR ➔


    Documented the Ctrl+R / Ctrl+M chat keybinding change

    • Gather context (issue + upstream cli PR 1417 diff + keybinding defaults)
    • Find docs-repo pages listing chat shortcuts (cli.md "Chat Interface Features")
    • Update the shortcut list and add a "Prompt History Search (Ctrl+R)" subsection
    • Run lint:md, format:check, build - all pass
    • Commit and open PR -> docs: document ctrl+r prompt history search in chat #869

    What changed in cli.md

    • New Prompt History Search (Ctrl+R) subsection: type to filter (most recent first, duplicates collapsed), up/down to select, Enter loads the prompt into the input without sending it, Esc cancels. Includes the muscle-memory callout that the raw/rendered markdown toggle moved to Ctrl+M with Alt+M as the fallback for terminals without the Kitty keyboard protocol (there Ctrl+M arrives as Enter), plus the rebindable action names text_editing_history_search and display_toggle_raw_format.
    • Shortcut list now shows Ctrl+R = history search and Ctrl+M / Alt+M = markdown toggle. While in there I also fixed tool result expansion, which was listed as Ctrl+R but has defaulted to ctrl+o upstream.

    Not done

    • No screenshots or shortcut cheat sheets in this repo show the old Ctrl+R markdown toggle, so there was nothing else to update.
    • The in-repo docs/configuration-reference.md update and the release-notes / changelog callout both live in the inference-gateway/cli repo (PR 1417), not here.

    | Branch

  6. inference-gateway-releaser commented on Sep 30, 2026

    @inference-gateway-releaser
    Contributor

    🎉 This issue has been resolved in version 0.9.19 🎉

    The release is available on GitHub release

    Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationreleased

    Type

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions