Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

feat: Ctrl/Cmd+K focuses the search on screen - #1502

Open
MizoWNA wants to merge 1 commit into
Polyfrost:mainfrom
MizoWNA:feat/ctrl-k-search
Open

MizoWNA wants to merge 1 commit into
Polyfrost:mainfrom
MizoWNA:feat/ctrl-k-search

Conversation

@MizoWNA

@MizoWNA MizoWNA commented Dec 1, 2026

Copy link
Copy Markdown

Description

Adds Ctrl/Cmd+K as a third shortcut for jumping to the search on screen, next to Ctrl/Cmd+F and Ctrl/Cmd+L. Ctrl+K is the search shortcut a lot of apps use, so it's often the first one people try.

It goes through the same app_shortcut path, so the existing rules still apply: only the primary modifier on its own counts, the typed character decides, and the physical key is the fallback on non-Latin layouts.

Related Issue(s)

Fixes #1493

How to test

  1. Open any page with a search bar (Browse, Versions, a cluster's Mods tab, Settings).
  2. Press Ctrl+K (Cmd+K on macOS). The search bar is focused.
  3. cargo test -p oneclient_app --lib keyboard_shortcuts covers the new key.

Documentation

No.

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

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

allow focusing search bars with ctrl k

1 participant