https://jactorsue.github.io/blog/2019/04/vscode-vim-auto-switch-inputmethod-in-linux.html
不过,我们要用 fcitx5,而不是 fcitx。
"vim.autoSwitchInputMethod.defaultIM": "1",
"vim.autoSwitchInputMethod.enable": true,
"vim.autoSwitchInputMethod.switchIMCmd": "/usr/bin/fcitx5-remote -t {im}",
"vim.autoSwitchInputMethod.obtainIMCmd": "/usr/bin/fcitx5-remote",