Vim Surround not working in `vscode.dev` nor GitHub Codespaces (falls out of `operatorPendingModeKeyBindingsMap` prematurely)
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
No vim-surround functionality is working in a default install of this plugin in vscode.dev nor in Github Codespaces.
Other emulated plugins work fine (e.g. vim-commentary is working fine).
To Reproduce
Steps to reproduce the behavior:
- Navigate to
vscode.dev - Install this plugin.
- Open an arbitrary text file
- Try any of
ysiw",ds",cs"'
Expected behavior
Vim-surround functionality works.
Screenshots
If applicable, add screenshots to help explain your problem.
If remapping-related, please attach log output: https://github.com/VSCodeVim/Vim#debugging-remappings.
No remapping is involved.
Environment (please complete the following information):



Additional context
I have no user settings other than a git.autofetch.
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 ysiw", ds", and cs"' in a default install on vscode.dev or GitHub Codespaces, then trace why the flow falls out of operatorPendingModeKeyBindingsMap prematurely. Done means vim-surround works there without remappings, while the existing emulated-plugin behavior remains intact.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- devtools, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100