在最新的mac catalina系统中,已经从karabiner更名为karabiner-elements,安装的版本为Karabiner-Elements-12.9.0
下载地址:https://pqrs.org/osx/karabiner/

安装后会有两个应用,一个是Karabiner-Elements,一个是Karabiner-EventViewer,修改键位使用的是Karabiner-Elements
安装的时候会提示添加权限
安装后可以在下面的网址导入你想要修改的组合键方案,组合键的是complex_modifications,单个键是simple_modifications
1 | https://pqrs.org/osx/karabiner/complex_modifications/#modifier-keys |
比如我就对调了command+tab和ctrl+tab

外接键盘修改了ctrl command option的位置

iterm2修改home和end快捷键command+a成command+ ->,以及commend+e成command+ <-
参考:https://www.itranslater.com/qa/details/2111127749946508288

下载的规则在
1 | ~/.config/karabiner/assets/complex_modifications |