{"version":"2.1.124","anchor":"scoped-history-search-ctrl-s-to-cycle","canonical_anchor":"scoped-history-search-ctrl-s-to-cycle","heading":"Scoped history search (Ctrl+S to cycle)","tier":null,"area":null,"scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.124\/e\/scoped-history-search-ctrl-s-to-cycle","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.124","markdown":"### Scoped history search (Ctrl+S to cycle)\n\n**What**\n\nThe `\u2191` \/ history picker now shows a dedicated \"Search prompts\" view that can be scoped to the current session, the current project, or everywhere. Press Ctrl+S to cycle between scopes.\n\n**Usage**\n\n- Open the history picker, type to filter, press `Ctrl+S` to switch between `session` \u2192 `project` \u2192 `everywhere`.\n- Filter input shows `Filter history\u2026` placeholder; the title displays the active scope (e.g. `Search prompts \u00b7 project`).\n- Empty states are now `Loading\u2026`, `No matching prompts`, or `No history yet` depending on the picker state.\n\n**Details**\n\n- The picker uses fuzzy-subsequence matching as a fallback when the literal substring isn't found.\n- Layouts adapt to terminal width: \u2265 100 columns shows a side-by-side preview; narrower terminals stack the preview below.\n- A new keybinding action `historySearch:cycleScope` is registered globally and emits the `tengu_history_picker_scope` telemetry event when used.\n- In remote sessions, history search is unavailable and the user sees: `History search isn't available in remote sessions yet`.\n\n**Evidence**\n\nHistory search picker (search for `\"Search prompts\"`, `\"Filter history\u2026\"`, and the new keybinding `\"historySearch:cycleScope\"`); scope list `Sc$ = [\"session\", \"project\", \"everywhere\"]`."}