The default keymap is destructive on macOS, please do not replicate the faults of others #7723
Unanswered
flyx
asked this question in
General Q&A
Replies: 1 comment 1 reply
-
Thanks for the report! We're aware and there's already and issue here: #7688 The big question is: do we make it easier to disable these keybindings, or do we change all the default keybindings (breaking change)? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
macOS, unlike other OSes, uses the Option key to access additional layers of the keyboard. For example, this is the layer when you press Option on the US International layout:
There's another layer for Shift+Option.
Hence, pressing any non-modifier key with Option is already a defined input in macOS and should not be used in a keymap.
This has been a problem for editors that are not macOS-first for a long time (VSCode etc), but since Zed is macOS-first, it is baffling that it still does that.
This is a problem especially for alternative keyboard layouts like e.g. Neo2, where the Option layer looks like this:
So my first experience in Zed was, I wanted to write a colon and the editor instead deleted the next word. I think we can agree that this is not good user experience. The default settings should not contradict the OS.
Beta Was this translation helpful? Give feedback.
All reactions