refactor: update keyboard shortcuts to prevent conflicts (#100)

Change Keyboard Shortcuts dialog shortcut from Cmd+H to Cmd+.
Update memory debug shortcut from Cmd+Shift+M to Cmd+Shift+D
Modify model selector shortcut to use Cmd+Shift+M
This commit is contained in:
Bohdan Triapitsyn
2026-01-03 02:27:10 +02:00
committed by GitHub
parent ff825c7651
commit a0eac480b4
6 changed files with 10 additions and 10 deletions
@@ -74,7 +74,7 @@ export const useKeyboardShortcuts = () => {
return;
}
if (hasModifier(e) && e.key === 'h') {
if (hasModifier(e) && e.key === '.') {
e.preventDefault();
toggleHelpDialog();
}
@@ -145,8 +145,8 @@ export const useKeyboardShortcuts = () => {
return;
}
// Ctrl+M: Open model selector (same conditions as double-ESC: chat tab, no overlays)
if (hasModifier(e) && !e.shiftKey && e.key.toLowerCase() === 'm') {
// Cmd/Ctrl+Shift+M: Open model selector (same conditions as double-ESC: chat tab, no overlays)
if (hasModifier(e) && e.shiftKey && e.key.toLowerCase() === 'm') {
const {
isSettingsDialogOpen,
isCommandPaletteOpen,