when in normal mode focus to text editor or other other situations ,always exec im-select.exe {im} to change keyboard as english
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 15.2k
- Forks
- 1.5k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 6
Description
Is your feature request related to a problem? Please describe.
As a Windows user who uses Chinese, I find the input method switching in VSCode Vim has some flaws. For example, when I switch to the Chinese input method in insert mode and then press esc to enter normal mode, if I switch back to insert mode after several operations, it will remember my last Chinese keyboard state. This often leads to typing in Chinese when I want to input English variables. There is no configuration in VSCode Vim to set the input method to English whenever I switch from normal mode back to insert mode, regardless of the input method in insert mode.
Describe the solution you'd like
I would like the input method to always switch to English when I switch from normal mode back to insert mode, regardless of the previous input method in insert mode. When I press / to enter search mode in normal mode and search for Chinese-related text, then press enter, I expect the input method to switch back to English, but it remains in Chinese. I want the input method to always be the default English when I return to normal mode from other modes.
Describe alternatives you've considered
An alternative solution could be to have a setting in VSCode Vim that allows users to specify the default input method when switching modes.
Additional context
Additionally, whenever I input Chinese in the git toolbar or file manager sidebar, and then focus the cursor on the text editor window, it remains in Chinese. This often leads to misoperations in normal mode when I type in Chinese. I want the input method to always be English whenever the focus is on the text editor, regardless of the window. Also, when I switch to the browser to type in Chinese and then switch back to VSCode, I expect it to be in Chinese. In other words, when the program switches back to VSCode from another program, I want the input method to automatically switch to English.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files or tests are named. Start by tracing VSCode Vim’s mode transitions and editor-focus handling on Windows, including the requested im-select.exe behavior; clarify which transitions and focus changes are in scope. Done means the English-input expectation and any configuration boundary are defined for each described situation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- developer-experience
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100