feat(search): intercept Ctrl+F / Cmd+F to open Sable search#304
Merged
Just-Insane merged 2 commits intodevfrom Mar 16, 2026
Merged
feat(search): intercept Ctrl+F / Cmd+F to open Sable search#304Just-Insane merged 2 commits intodevfrom
Just-Insane merged 2 commits intodevfrom
Conversation
Overrides browser find-in-page (Ctrl+F) to open Sable's search modal instead, matching the behavior users expect from chat applications. The existing Ctrl+K hotkey remains functional. Fixes #179
Contributor
Deploying with
|
| Status | Preview URL | Commit | Alias | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! | https://pr-304-sable.raspy-dream-bb1d.workers.dev | 26e9d10 | pr-304 |
Mon, 16 Mar 2026 19:29:49 GMT |
Collaborator
Author
|
Tested in browser, works as expected. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes #179 — Pressing
Ctrl+F/Cmd+Fpreviously opened the browser's native find-in-page dialog. It now opens Sable's search modal instead.Change
In
SearchModalRenderer, the keyboard shortcut handler was extended to also matchmod+fin addition to the existingmod+k. Both shortcuts now:preventDefault()the event (suppressing browser find-in-page)The hint text in the search modal footer was updated to show both
Ctrl+K / Ctrl+F(or⌘+K / ⌘+Fon macOS).