Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Emacsy keys update #525

Closed
lishid opened this issue Jun 28, 2021 · 1 comment
Closed

Emacsy keys update #525

lishid opened this issue Jun 28, 2021 · 1 comment

Comments

@lishid
Copy link

@lishid lishid commented Jun 28, 2021

Same issue as codemirror/CodeMirror#6630 but for CodeMirror 6.

In modern Macs the Alt+F/B/D keys no longer perform the legacy emacs behavior.
Instead they insert the special characters ƒ and .

These are the three lines that needs to be changed:
https://github.com/codemirror/commands/blob/05812d896fcdcbdb22a2bca30ec83988d7373578/src/commands.ts#L656
https://github.com/codemirror/commands/blob/05812d896fcdcbdb22a2bca30ec83988d7373578/src/commands.ts#L662
https://github.com/codemirror/commands/blob/05812d896fcdcbdb22a2bca30ec83988d7373578/src/commands.ts#L663

marijnh added a commit to codemirror/commands that referenced this issue Jun 29, 2021
FIX: Drop Alt-d, Alt-f, and Alt-b bindings from `emacsStyleKeymap` (and
thus from the default macOS bindings).

Issue codemirror/codemirror.next#525
@marijnh
Copy link
Member

@marijnh marijnh commented Jun 29, 2021

Thanks for spotting that. Attached patch should take care of it.

@marijnh marijnh closed this Jun 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants