Skip to content

Commit e9ab9b6

Browse files
committed
fix(shortcut): add cmd+k to guide
Signed-off-by: Innei <tukon479@gmail.com>
1 parent d629215 commit e9ab9b6

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

apps/renderer/src/constants/shortcuts.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,12 @@ export const shortcuts: Shortcuts = {
104104
key: "Space",
105105
},
106106
},
107+
misc: {
108+
quickSearch: {
109+
name: "keys.misc.quickSearch",
110+
key: "Meta+K",
111+
},
112+
},
107113
}
108114

109115
export const shortcutsType: { [key in keyof typeof shortcuts]: I18nKeysForShortcuts } = {
@@ -112,4 +118,5 @@ export const shortcutsType: { [key in keyof typeof shortcuts]: I18nKeysForShortc
112118
entries: "keys.type.entries",
113119
entry: "keys.type.entry",
114120
audio: "keys.type.audio",
121+
misc: "keys.type.misc",
115122
}

locales/shortcuts/en.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,12 @@
2222
"keys.layout.showShortcuts": "Show/Hide Shortcuts",
2323
"keys.layout.toggleSidebar": "Show/Hide Feed Sidebar",
2424
"keys.layout.toggleWideMode": "Toggle Wide Mode",
25+
"keys.misc.quickSearch": "Quick Search",
2526
"keys.type.audio": "audio",
2627
"keys.type.entries": "entries",
2728
"keys.type.entry": "entry",
2829
"keys.type.feeds": "feeds",
2930
"keys.type.layout": "layout",
31+
"keys.type.misc": "misc",
3032
"sidebar_title": "Shortcuts"
3133
}

0 commit comments

Comments
 (0)