extension.vim_escape command doesn't work
Open
Nobody has claimed this yet.
area/remap
status/user-error
- Dominant language
- TypeScript
- Stars
- 15.2k
- Forks
- 1.5k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 6
Description
Describe the bug
the command "extension.vim_escape" doesn't work since version 1.18.0, and falling back to version 1.16.0 could fix this.
To Reproduce
- Install VSCode(I use VSCodium but it should not matter)
- Install VSCodeVim (version >= 1.18.0)
- Open Settings in json mode, edit settings.json like following:
{ "vim.insertModeKeyBindings": [ { "before": [ "<C-i>" ], "commands": [ // some other commands (optional) "extension.vim_escape" ] } ] } - Save settings.json, and enter
ito get into insert mode, then enterControl + I - Vim mode should change to normal mode, but nothing occurs (I am sure the command is emitted)
Expected behavior
Vim mode should change to normal mode.
Environment (please complete the following information):
- Extension (VsCodeVim) version: 1.18.9
- VSCodium version: 1.52.1
- OS: Linux x64
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 extension.vim_escape command through the vim.insertModeKeyBindings setting, using the listed VSCodeVim 1.18.9 and VSCodium environment. Trace the command from that keybinding entry point and verify that pressing Control+I in insert mode changes Vim to normal mode without reverting to version 1.16.0.
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
- 35/100