Revert "macOS: Improve deadkeys (#20515)" (#20570)

This reverts commit https://github.com/zed-industries/zed/pull/20515

I'm reverting for now to fix issues with key bindings on Nightly:
* `ctrl-c` and `ctrl-m` are being treated as `ctrl-enter`
* `ctrl-[` isn't working in vim mode
* there's a delay before `cmd-shift-[` switches tabs w/ vim mode enabled

Release Notes:

- N/A
This commit is contained in:
Max Brunsfeld 2024-11-12 22:32:14 -08:00 committed by GitHub
parent 0547748c48
commit 55cd99cdc4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 217 additions and 227 deletions

View file

@ -124,9 +124,6 @@ impl Keystroke {
/// Produces a representation of this key that Parse can understand.
pub fn unparse(&self) -> String {
let mut str = String::new();
if self.modifiers.function {
str.push_str("fn-");
}
if self.modifiers.control {
str.push_str("ctrl-");
}