From 6b0a05b5cacc7d9a8f8ce68356655a58137bd713 Mon Sep 17 00:00:00 2001 From: Copilot <198982749+Copilot@users.noreply.github.com> Date: Mon, 17 Nov 2025 22:56:54 +0000 Subject: [PATCH] Use Cmd+K for quick actions on macOS instead of Ctrl+K (#1837) Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: kolaente <13721712+kolaente@users.noreply.github.com> --- frontend/src/components/misc/OpenQuickActions.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/misc/OpenQuickActions.vue b/frontend/src/components/misc/OpenQuickActions.vue index 5619c1c75..a7b8841d1 100644 --- a/frontend/src/components/misc/OpenQuickActions.vue +++ b/frontend/src/components/misc/OpenQuickActions.vue @@ -3,6 +3,7 @@ import BaseButton from '@/components/base/BaseButton.vue' import {useBaseStore} from '@/stores/base' import {onBeforeUnmount, onMounted} from 'vue' import {eventToHotkeyString} from '@github/hotkey' +import {isAppleDevice} from '@/helpers/isAppleDevice' const baseStore = useBaseStore() @@ -10,7 +11,11 @@ const baseStore = useBaseStore() function openQuickActionsViaHotkey(event) { const hotkeyString = eventToHotkeyString(event) if (!hotkeyString) return - if (hotkeyString !== 'Control+k' && hotkeyString !== 'Meta+k') return + + // On macOS, use Cmd+K (Meta+K), on other platforms use Ctrl+K (Control+K) + const expectedHotkey = isAppleDevice() ? 'Meta+k' : 'Control+k' + if (hotkeyString !== expectedHotkey) return + event.preventDefault() openQuickActions()