参考 : https://www.cjahv.com/mac-delete-default-input-model.html
注: 该方法亲测适用于版本
Mac OS 10.14 (18A391)
macOS Big Sur 11.5.1 (20G80)
操作步骤
1.系统偏好,输入法设置,把非ABC输入法全部删除
2.打开终端
3. 备份文件,防止出现未知错误可以恢复
cp ~/Library/Preferences/com.apple.HIToolbox.plist ~/Library/Preferences/com.apple.HIToolbox.plist.back
4.将其转换成xml文件
plutil -convert xml1 ~/Library/Preferences/com.apple.HIToolbox.plist
5.用vi命令编辑该文件
vi ~/Library/Preferences/com.apple.HIToolbox.plist
6.执行上条命令文件内容如下
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>AppleCurrentKeyboardLayoutInputSourceID</key>
<string>com.apple.keylayout.ABC</string>
<key>AppleEnabledInputSources</key>
<array>
<dict>
<key>Bundle ID</key>
<string>com.apple.inputmethod.SCIM</string>
<key>Input Mode</key>
<string>com.apple.inputmethod.SCIM.ITABC</string>
<key>InputSourceKind</key>
<string>Input Mode</string>
</dict>
<dict>
<key>Bundle ID</key>
<string>com.apple.PressAndHold</string>
<key>InputSourceKind</key>
<string>Non Keyboard Input Method</string>
</dict>
<dict>
<key>InputSourceKind</key>
<string>Keyboard Layout</string>
<key>KeyboardLayout ID</key>
<integer>252</integer>
<key>KeyboardLayout Name</key>
<string>ABC</string>
</dict>
</array>
<key>AppleGlobalTextInputProperties</key>
<dict>
<key>TextInputGlobalPropertyPerContextInput</key>
<true/>
</dict>
<key>AppleHandwritingDisabledInputSources</key>
<array>
<string>com.apple.inputmethod.SCIM</string>
</array>
<key>AppleInputSourceHistory</key>
<array>
<dict>
<key>InputSourceKind</key>
<string>Keyboard Layout</string>
<key>KeyboardLayout ID</key>
<integer>252</integer>
<key>KeyboardLayout Name</key>
<string>ABC</string>
</dict>
<dict>
<key>Bundle ID</key>
<string>com.sogou.inputmethod.sogou</string>
<key>Input Mode</key>
<string>com.sogou.inputmethod.pinyin</string>
<key>InputSourceKind</key>
<string>Input Mode</string>
</dict>
</array>
<key>AppleSelectedInputSources</key>
<array>
<dict>
<key>Bundle ID</key>
<string>com.apple.PressAndHold</string>
<key>InputSourceKind</key>
<string>Non Keyboard Input Method</string>
</dict>
<dict>
<key>InputSourceKind</key>
<string>Keyboard Layout</string>
<key>KeyboardLayout ID</key>
<integer>252</integer>
<key>KeyboardLayout Name</key>
<string>ABC</string>
</dict>
</array>
</dict>
</plist>
7.把 <key>AppleEnabledInputSources</key> 和<key>AppleInputSourceHistory<key>下含所有含有ABC的 <dict></dict> 删除,如上就是删除23-30行
用方向键把移动到如上23行所在,双击d键,删除该行,一直删除包含ABC的dict,然后输入 :wq ,保存
8.重启,需要输入登录密码
sudo reboot
END。