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:
committed by
GitHub
parent
ff825c7651
commit
a0eac480b4
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user