mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
[GH-ISSUE #15795] feat: Configurable keyboard shortcuts per-OS #56339
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @joemccall86 on GitHub (Jul 16, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/15795
Check Existing Issues
Problem Description
On a mac system, I have the muscle memory of being able to ctrl+a and ctrl+k to clear the text box. This flow doesn't work in open-webui, since ctrl+k brings up the search box instead.
Desired Solution you'd like
Either allow arbitrary keyboard shortcut overrides, or change the detection of
isCtrlPressedat2470da8336/src/routes/(app)/+layout.svelte#L118 to work properly on macOS systems. It looks like the intention was for macOS shortcuts to use the meta key, but in reality it will use ctrl OR meta, which subsumes twice the default shortcuts.In this case, it looks like "properly" would mean that on macOS systems you'd look at
event.metaKey, otherwise you'd look atevent.ctrlKey.Alternatives Considered
No response
Additional Context
No response
@silentoplayz commented on GitHub (Aug 25, 2025):
Related - https://github.com/open-webui/open-webui/issues/1008
@alythobani commented on GitHub (Aug 28, 2025):
Also related: https://github.com/open-webui/open-webui/pull/13813 https://github.com/open-webui/open-webui/discussions/13708
@alythobani commented on GitHub (Aug 28, 2025):
And #17015 which I just filed, which also deals with an unexpected/undesired shortcut (Cmd+R regenerates last message instead of reloading page)
@d1ffuser commented on GitHub (Apr 14, 2026):
still relevant...