Skip to content

armgit / mimik

Public Imported from GitHub
0

🎬 A browser extension and desktop app that turns your clicks into step-by-step guides with annotated screenshots πŸ“–

fix(desktop): move the capture shortcuts off the function row

Luis Ortizf4440f8efda2
diff --git a/AGENTS.md b/AGENTS.md
index 7c3f94b..e795cda 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -690,10 +690,13 @@ settings were on disk when it finishes.
## Capture Shortcuts
Three global accelerators, stored in `capture-settings.json` beside everything else: start/stop,
-pause/resume, and capture now. They default to `CommandOrControl+Shift+F9`, `F10` and `F11`, which
-are function keys precisely because a global accelerator is taken from **every** application on the
-machine for as long as it is registered β€” binding something like `Ctrl+S` would break saving
-everywhere.
+pause/resume, and capture now. They default to `Alt+Shift+R`, `Alt+Shift+P` and `Alt+Shift+C`,
+because a global accelerator is taken from **every** application on the machine for as long as it is
+registered: `Ctrl+Shift+R` would break reload everywhere, and `Ctrl+Alt+<letter>` is AltGr on most
+non-US layouts, so it would eat characters people actually type. `Alt+Shift` held with another key
+is rare in applications and does not trigger the Windows layout switch, which fires only on
+`Alt+Shift` pressed and released alone. Function keys were the first choice and are wrong: laptops
+increasingly do not have a usable row.
That is also why only start/stop is bound all the time. Pause/resume and capture-now can do nothing
outside a recording, so `shortcutMap` returns them as null until one is running and `applyShortcuts`
diff --git a/apps/desktop/src/main/capture/settings.ts b/apps/desktop/src/main/capture/settings.ts
index bfd33f0..9110454 100644
--- a/apps/desktop/src/main/capture/settings.ts
+++ b/apps/desktop/src/main/capture/settings.ts
@@ -41,9 +41,9 @@ export const DEFAULT_CAPTURE_SETTINGS: CaptureSettings = {
typingDebounceMs: 1200,
typingSmartDetection: true,
shortcuts: {
- startStop: 'CommandOrControl+Shift+F9',
- pauseResume: 'CommandOrControl+Shift+F10',
- capture: 'CommandOrControl+Shift+F11',
+ startStop: 'Alt+Shift+R',
+ pauseResume: 'Alt+Shift+P',
+ capture: 'Alt+Shift+C',
},
};