AutoSwitchInputMethod lead c and s can't change from normalMode to insertMode
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 15.2k
- Forks
- 1.5k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 6
Description
Describe the bug
Such case happen after version 1.25, when setting "vim.autoSwitchInputMethod.enable": true, operation c and s(ea: cc, s), mode can't change normalMode to insetMode(actually in insertmode, but statusbar and cursor can't change).
To Reproduce
Steps to reproduce the behavior:
- Only install vim extension and default settings for clean vscode environment
- Setting "vim.autoSwitchInputMethod.enable": true
- Start edit, the first time, cc delete one line, statusbar and cursor cant change style from normalMode to insertMode, but next time cc and later cc, delete one line, statusbar and cursor can't change style from normalMode to insertMode.
Expected behavior
After operation c and s (s, cc, ciw..), statusbar indicate from normalMode to interMode, cursor style from block to line.
Screenshots

Environment (please complete the following information):
- Only install vim extension and default vscode settings
- "vim.autoSwitchInputMethod.enable": true
- Extension (VsCodeVim) version: 1.22.1
- VSCode version: 1.64.0
- OS: windows11
Additional context
Add any other context about the problem here.
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
Start by reproducing the behavior with the VSCodeVim extension and the "vim.autoSwitchInputMethod.enable" setting, using c and s operations such as cc and ciw. Trace how these operations update the mode indicator and cursor style; done means they consistently change from normal mode to insert mode after the operation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- developer-experience, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100