最近我更新到 macOS sierra,发现不支持 Karabiner。开发人员已经发布了 Karabiner-Elements,但它似乎处于“前用户友好”状态。我无法理解如何以 pc 风格映射主键和结束键,就像在原始的 Karabiner 中一样。用户指南将不胜感激。
2210 次
1 回答
6
I just suffered through trying to get this to work as well. What I ended up doing was following these instructions, with a few tweaks.
Here are the steps:
- Open TextEdit and create a new file.
Paste the following:
{ "\UF729" = "moveToBeginningOfLine:"; "\UF72B" = "moveToEndOfLine:"; "$\UF729" = "moveToBeginningOfLineAndModifySelection:"; "$\UF72B" = "moveToEndOfLineAndModifySelection:"; }
- Save to {your user folder}/Library/KeyBindings/DefaultKeyBinding.dict (UTF-8 encoding)
- Restart your computer.
I also found this helpful utility that seems to be a handy editor for modifying your .dict file. It would seem that making new key mappings should be easier with this tool.
于 2016-12-06T20:36:21.093 回答