[Feature request] Provide vim.switchToInsertModeSelection command for switching selected text from visual mode to insert mode
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 15.2k
- Forks
- 1.5k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 6
Description
Is your feature request related to a problem? Please describe.
#6772
When we use 3rd party extension such as vscode surround, we can not handle there behavior easily.
Describe the solution you'd like
But if we use 3rd party extension at insert mode, most of extensions will run correctly.
That's why we need vim.switchToInsertModeSelection command.
We can select words at visual mode, then switch visual mode selection to insert mode first.
After that, we can run 3rd party extension correctly easily!

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 locating the existing command handling for visual mode and transitions into insert mode in the VSCodeVim extension. Check how selected text is preserved when switching modes, then verify that the proposed vim.switchToInsertModeSelection command leaves the selection usable by third-party insert-mode extensions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100