Shift + Escape in insert mode should return to normal 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
When in insert mode, pressing Shift+Esc should return you to normal mode (just like Esc). This is how it works in vim.
This came up for me when quickly typing something like .collect() followed by escape. Sometimes I might have failed to let go of shift (from the paren) prior to pressing escape. I'm used to this working fine in regular vim.
To Reproduce
Steps to reproduce the behavior:
- Go into insert mode
- Press Shift + Esc
Expected behavior
Expect it to return to command mode
Environment (please complete the following information):
- Extension (VsCodeVim) version: 1.22.2
- VSCode version: 1.66.2
- OS: Mac arm64 (Universal binary)
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 in VSCodeVim 1.22.2: enter insert mode and press Shift+Esc, then compare it with Esc. Trace the TypeScript keybinding or input-handling path responsible for leaving insert mode, and verify that Shift+Esc returns to normal mode without changing the existing Esc behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100