在最新的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
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
下載的規則在
~/.config/karabiner/assets/complex_modifications