Skip to content

The agent that grows with you

fix(desktop): list HUD snap chord in keyboard shortcuts panel

Brooklyn Nicholson440e6fb6405c
diff --git a/apps/desktop/src/i18n/en.ts b/apps/desktop/src/i18n/en.ts
index b0dba1f0e9d..da7386f185f 100644
--- a/apps/desktop/src/i18n/en.ts
+++ b/apps/desktop/src/i18n/en.ts
@@ -263,6 +263,7 @@ export const en: Translations = {
'view.toggleStatusbar': 'Toggle status bar',
'view.showFiles': 'Show file browser',
'view.toggleHud': 'Toggle HUD mode',
+ 'hud.snapToPointer': 'Move HUD to pointer (global, while HUD is open)',
'view.showTerminal': 'Toggle terminal',
'view.newTerminal': 'New terminal',
'view.nextTerminal': 'Next terminal',
diff --git a/apps/desktop/src/lib/keybinds/actions.ts b/apps/desktop/src/lib/keybinds/actions.ts
index be2d9d13176..b042cd4f6e2 100644
--- a/apps/desktop/src/lib/keybinds/actions.ts
+++ b/apps/desktop/src/lib/keybinds/actions.ts
@@ -244,5 +244,7 @@ export const KEYBIND_READONLY: readonly KeybindReadonly[] = [
// Code. Plain Ctrl+C also copies when text is selected (Windows Terminal /
// Tabby behavior); with no selection it stays SIGINT, so it isn't listed.
{ id: 'view.terminalCopy', category: 'view', keys: IS_MAC ? ['mod+c'] : ['mod+shift+c'] },
- { id: 'view.terminalPaste', category: 'view', keys: IS_MAC ? ['mod+v'] : ['mod+shift+v'] }
+ { id: 'view.terminalPaste', category: 'view', keys: IS_MAC ? ['mod+v'] : ['mod+shift+v'] },
+ // Global OS chord registered in main while HUD mode is up.
+ { id: 'hud.snapToPointer', category: 'view', keys: ['mod+shift+g'] }
]