forked from anomalyco/opencode
-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Summary
Allow users to customize and bind gesture actions to keyboard shortcuts, similar to how desktop keybinds work.
Context
This is a companion feature to the iOS gesture shortcuts proposal. While gestures provide quick mobile access to actions, users should also be able to:
- Map gestures to keyboard shortcuts they already know from the desktop app
- Create custom bindings between specific gestures and specific actions
- Have consistency between mobile gestures and desktop keybinds
Use Cases
-
Desktop muscle memory - Users coming from the desktop app may want gestures to trigger the same actions as their familiar keybinds (e.g., Cmd+P for command palette, Cmd+S for save)
-
Custom gesture bindings - Allow advanced users to define what happens when they perform specific gestures
-
Accessibility - Some users may prefer keyboard shortcuts over gestures; this bridges the gap
Technical Considerations
- Leverage the existing keybinds system in the app
- Create a mapping UI in settings for gesture-to-keybind associations
- Consider conflicts between gesture actions and existing shortcuts
- Store user preferences persistently
Related
- Add iOS gesture shortcuts for quick actions #3: Add iOS gesture shortcuts for quick actions
Labels
- enhancement
- ux-improvement
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels