mac英数及かな自定义快捷键
更新
软件:Karabiner-Elements (Karabiner-Elements is the subset of the next generation Karabiner for macOS Sierra.)
set keyboard_type (ansi, iso, jis) function implemented.
引用:https://github.com/tekezo/Karabiner-Elements/pull/362
百度云盘下载 https://pan.baidu.com/s/1skMGDkh
软件: KeyRemap4MacBook-9.2.0
官方下载地址:https://pqrs.org/macosx/keyremap4macbook/files/KeyRemap4MacBook-9.2.0.dmg
百度云盘下载: http://pan.baidu.com/s/1eS3dt (里面包含private.xml文件)
这里示例将英数及かな改为切换输入法的快捷键 option+command+空格
private.xml
<?xml version="1.0"?> <root> <item> <name>jp Key to cn</name> <identifier>private.jp_to_cn</identifier> <autogen> __KeyToKey__ KeyCode::JIS_KANA, KeyCode::SPACE, ModifierFlag::COMMAND_L | ModifierFlag::OPTION_L </autogen> <autogen> __KeyToKey__ KeyCode::JIS_EISUU, KeyCode::SPACE, ModifierFlag::COMMAND_L | ModifierFlag::OPTION_L </autogen> </item> </root>
具体步骤
1,找到private.xml位置并且替换这个文件
2,启用新的private.xml,先要点ReloadXML,然后将 jptocn 勾上
博客不错 打酱油的来看看