Skip to content

Commit

Permalink
fix(shortcut): add cmd+k to guide
Browse files Browse the repository at this point in the history
Signed-off-by: Innei <[email protected]>
  • Loading branch information
Innei committed Oct 29, 2024
1 parent d629215 commit e9ab9b6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
7 changes: 7 additions & 0 deletions apps/renderer/src/constants/shortcuts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,12 @@ export const shortcuts: Shortcuts = {
key: "Space",
},
},
misc: {
quickSearch: {
name: "keys.misc.quickSearch",
key: "Meta+K",
},
},
}

export const shortcutsType: { [key in keyof typeof shortcuts]: I18nKeysForShortcuts } = {
Expand All @@ -112,4 +118,5 @@ export const shortcutsType: { [key in keyof typeof shortcuts]: I18nKeysForShortc
entries: "keys.type.entries",
entry: "keys.type.entry",
audio: "keys.type.audio",
misc: "keys.type.misc",
}
2 changes: 2 additions & 0 deletions locales/shortcuts/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,12 @@
"keys.layout.showShortcuts": "Show/Hide Shortcuts",
"keys.layout.toggleSidebar": "Show/Hide Feed Sidebar",
"keys.layout.toggleWideMode": "Toggle Wide Mode",
"keys.misc.quickSearch": "Quick Search",
"keys.type.audio": "audio",
"keys.type.entries": "entries",
"keys.type.entry": "entry",
"keys.type.feeds": "feeds",
"keys.type.layout": "layout",
"keys.type.misc": "misc",
"sidebar_title": "Shortcuts"
}

0 comments on commit e9ab9b6

Please sign in to comment.