alacritty / alacritty/alacritty

Overridding "Command-H" doesn't work on MacOS after migrating from 12.x to 13.x.

未关闭
#7,689 8 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
H - macos
主要语言
Rust
星标
65.7k
派生
3.6k
平均合并
3 小时 5 分钟
30 天内合并 PR
3

描述

I used to have this config in my previous (12.x):
```
key_bindings:
# See https://en.wikipedia.org/wiki/C0_and_C1_control_codes for codes
- { key: H, mods: Command, chars: "\x08" }
...
```

I rebind most of `Command+` to behave like `Control+`, the above-mentioned control sequence allow to type Command+H for Emacs to open help, but now it's overridden to hide the window and seems like after migrating to TOML format of the config it didn't change:
```
[[keyboard.bindings]]
chars = "\b"
key = "H"
mods = "Command"
```

I am not sure what `alacritty migrate` does in this specific case.

Also, the following is broken:
```
# Frequently, terminals send Ctrl-Space as Ctrl-@ and according to the wiki escape codes it is just '\x00'.
# From that point, Emacs would recognized both Ctrl-@ and Ctrl-Shift-Space as the same.
- { key: Key2, mods: Shift|Command, chars: "\x00" }
- { key: Space, mods: Shift|Command, chars: "\x00" }
```

In 12.x, Command-@ (Command-Shift-2), used to work as well, but it doesn't work on 13.x anymore.

I am pretty sure there is a bunch of more broken bindings, it's just the beginning :)

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。