Stuck in insert mode without being able to backspace or exit to command mode
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
Every so often, I get stuck in INSERT mode, where I can only insert text, but ESC does nothing; neither does backspace or delete do anything. I am then forced to exit VSCode and restart it for this issue to go away.
To Reproduce
Start a debug session in vscode, wait for an exception to interrupt execution, then while debug mode is on, enter INSERT mode in vim. Now we're stuck!
Expected behavior
Able to escape INSERT using ESC, and able to use Backspace within INSERT.
Screenshots
Environment (please complete the following information):
- Extension (VsCodeVim) version:
v1.22.2 - VSCode version:
1.65.2
c722ca6c7eed3d7987c0d5c3df5c45f6b15e77d1
x64 - OS:
Ubuntu 20.04.4
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 issue in a VSCodeVim debug session: interrupt execution, enter INSERT mode, and test ESC, Backspace, and Delete. Trace the extension's input handling around debug interruptions; done means INSERT mode can exit with ESC and editing keys work without restarting VSCode.
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