mac vscode vim 中文输入法搜狗问题处理

2022-05-06 10:45:12 浏览数 (1)

  • 安装im-select
代码语言:javascript复制
brew tap daipeihust/tap && brew install im-select
# 获取安装路径
which im-select
  • vscoed setting新增
代码语言:javascript复制
{
 "vim.autoSwitchInputMethod.switchIMCmd": "/usr/local/bin/im-select {im}",
  "vim.autoSwitchInputMethod.obtainIMCmd": "/usr/local/bin/im-select",
  "vim.autoSwitchInputMethod.defaultIM": "com.apple.keylayout.ABC",
  "vim.autoSwitchInputMethod.enable": true
  }
  • 搜狗输入法配置默认为英文
  • app store安装【自动切换输入法】,将所有的软件默认配置为搜狗输入法

0 人点赞