Remove Alt-< and Alt-> from emacsy keymap. #3

Merged
lishid merged 1 commit from main into main 2021-12-28 09:42:56 +01:00
lishid commented 2021-12-28 01:57:29 +01:00 (Migrated from github.com)

Based on my research, these don't seem to be bound by default (at least according to this list).
They don't seem to be present in the CM5 emacsy keys list either: https://github.com/codemirror/CodeMirror/blob/master/src/input/keymap.js#L30

We've also gotten reports that this conflicts with inputting some characters.

Based on my research, these don't seem to be bound by default (at least according to [this list](https://jblevins.org/log/kbd)). They don't seem to be present in the CM5 emacsy keys list either: https://github.com/codemirror/CodeMirror/blob/master/src/input/keymap.js#L30 We've also gotten reports that this conflicts with inputting some characters.
lishid commented 2021-12-28 02:11:30 +01:00 (Migrated from github.com)

https://forum.obsidian.md/t/and-key-does-not-work-for-hungarian-keyboard-layout-in-the-new-editor/29293

Seems to be using the Hungarian keyboard for inserting the < and > characters.

https://forum.obsidian.md/t/and-key-does-not-work-for-hungarian-keyboard-layout-in-the-new-editor/29293 Seems to be using the Hungarian keyboard for inserting the `<` and `>` characters.
marijnh commented 2021-12-28 09:41:20 +01:00 (Migrated from github.com)

M-> and M-< are right there in the list you linked. But yeah, I can imagine these getting in the way in layouts that use alt to pick special characters (and it seems hard to detect that situation in JS), and mod+home/end already provides an easy way to navigate to the start and end of the document. So, at the risk of annoying people who are used to these keys, let's drop them.

M-> and M-\< are right there in the list you linked. But yeah, I can imagine these getting in the way in layouts that use alt to pick special characters (and it seems hard to detect that situation in JS), and mod+home/end already provides an easy way to navigate to the start and end of the document. So, at the risk of annoying people who are used to these keys, let's drop them.
lishid commented 2021-12-28 10:56:47 +01:00 (Migrated from github.com)

M-> and M-< are right there in the list you linked.

I believe we should be looking at the OS X column rather than the Emacs column here which are the actual keybindings in Emacs. The OS X column specifically doesn't list the M-< and M-> keys.

> M-> and M-< are right there in the list you linked. I believe we should be looking at the `OS X` column rather than the `Emacs` column here which are the actual keybindings in Emacs. The `OS X` column specifically doesn't list the `M-<` and `M->` keys.
marijnh commented 2021-12-28 11:34:22 +01:00 (Migrated from github.com)

Oh, right, didn't look closely enough. Well, that's good, then no one will miss them I guess.

Oh, right, didn't look closely enough. Well, that's good, then no one will miss them I guess.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
codemirror/commands!3
No description provided.