docs: fixed shortcut keys for spotlight and shortcuts menu (#3192)

This commit is contained in:
Liyas Thomas
2023-07-17 19:27:49 +05:30
committed by GitHub
parent 3b217d78e7
commit 5a516f7242
2 changed files with 5 additions and 4 deletions

View File

@@ -22,10 +22,11 @@
</div>
<div class="flex">
<kbd class="shortcut-key">{{ getSpecialKey() }}</kbd>
<kbd class="shortcut-key">K</kbd>
<kbd class="shortcut-key">/</kbd>
</div>
<div class="flex">
<kbd class="shortcut-key">/</kbd>
<kbd class="shortcut-key">{{ getSpecialKey() }}</kbd>
<kbd class="shortcut-key">K</kbd>
</div>
<div class="flex">
<kbd class="shortcut-key">?</kbd>

View File

@@ -16,12 +16,12 @@ export function getShortcuts(t: (x: string) => string): ShortcutDef[] {
},
{
label: t("shortcut.general.command_menu"),
keys: ["/"],
keys: [getPlatformSpecialKey(), "K"],
section: t("shortcut.general.title"),
},
{
label: t("shortcut.general.show_all"),
keys: [getPlatformSpecialKey(), "K"],
keys: [getPlatformSpecialKey(), "/"],
section: t("shortcut.general.title"),
},
{