feat: replace y-j with configurable Jimaku shortcut

This commit is contained in:
2026-02-09 21:28:56 -08:00
parent 31d90b0296
commit 5c600b0cbe
15 changed files with 276 additions and 12 deletions

View File

@@ -2265,6 +2265,9 @@ function tryHandleOverlayShortcutLocalFallback(input: Electron.Input): boolean {
openRuntimeOptions: () => {
openRuntimeOptionsPalette();
},
openJimaku: () => {
sendToVisibleOverlay("jimaku:open");
},
markAudioCard: () => {
markLastCardAsAudioCard().catch((err) => {
console.error("markLastCardAsAudioCard failed:", err);
@@ -2644,6 +2647,9 @@ function registerOverlayShortcuts(): void {
openRuntimeOptions: () => {
openRuntimeOptionsPalette();
},
openJimaku: () => {
sendToVisibleOverlay("jimaku:open");
},
});
}