support emacs keybinds on macos
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.9k
- Forks
- 201
- Avg merge
- 12m
- Merged PRs (30d)
- 1
Description
MacOS has native system-wide support on emacs key bindings on text editing fields, including textarea of all major browsers. However, the default shortcuts of react-md-editor uses the ctrlcmd modifier, which breaks emacs key bindings on MacOS.
What about detecting current OS (e.g. via user agent) and set different modifiers on different os (cmd on MacOS and ctrl on Windows/Linux)?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Search the editor's shortcut handling for the ctrlcmd modifier and inspect how platform-specific behavior is currently selected. Confirm the desired modifier for macOS versus Windows/Linux, then verify that Emacs key bindings continue to work in text fields while the existing shortcuts remain functional elsewhere.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- macos, react, typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100