You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 29, 2026. It is now read-only.
Implement a configurable keyboard shortcuts system that allows users to customize key bindings for various application functions, starting with permission mode cycling and expandable to other shortcuts.
Background
Currently, the application has limited keyboard shortcuts:
Enter: Submit message (configurable via enter behavior setting)
Shift+Enter: Alternative behavior (newline/submit)
Escape: Abort current request
Users have requested more keyboard shortcuts, particularly for permission mode cycling. A configurable system would provide flexibility and accommodate different user preferences and platform conflicts.
Summary
Implement a configurable keyboard shortcuts system that allows users to customize key bindings for various application functions, starting with permission mode cycling and expandable to other shortcuts.
Background
Currently, the application has limited keyboard shortcuts:
Enter: Submit message (configurable via enter behavior setting)Shift+Enter: Alternative behavior (newline/submit)Escape: Abort current requestUsers have requested more keyboard shortcuts, particularly for permission mode cycling. A configurable system would provide flexibility and accommodate different user preferences and platform conflicts.
Proposed Implementation
Keyboard Shortcuts Management
Initial Shortcuts to Implement
Ctrl+Shift+M(Windows/Linux) /Cmd+Shift+M(macOS)Escape(existing, but now configurable)Technical Architecture
UI Components
Technical Details
Settings Structure
Shortcut Format
"Ctrl+Shift+M","Alt+Tab", etc."Cmd+Shift+M"on macOS"Escape","F1", etc.Event Handling
isComposing)User Experience
Shortcut Configuration
Help System
Implementation Priority
Phase 1: Core Infrastructure
Phase 2: Permission Mode Toggle
Phase 3: Configurability
Acceptance Criteria
Dependencies
Future Enhancements
🤖 Generated with Claude Code