vscode vim解决中文输入法切换问题

先安装 im-select

将以下部分插入setting json里面

mac

"vim.autoSwitchInputMethod.enable": true,
"vim.autoSwitchInputMethod.defaultIM": "com.apple.keylayout.US",
"vim.autoSwitchInputMethod.obtainIMCmd": "/usr/local/bin/im-select",
"vim.autoSwitchInputMethod.switchIMCmd": "/usr/local/bin/im-select {im}"

posted @ 2021-11-27 11:07  王猪猴  阅读(472)  评论(0编辑  收藏  举报