Select text and paste it, but it's not replacing the old text, it's inserting.
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
I select text and paste it, but it's not replacing the old text, it's inserting. (Attach image)
How do I fix this?
To Reproduce
Steps to reproduce the behavior:
- Select Text.
- Ctrl + C : paste text.
Expected behavior
Replacing the old text, Not inserting like image:
Environment (please complete the following information):
- Extension (VsCodeVim) version: v1.25.2
- VSCode version: 1.78.2
- OS: Window 11 Pro
Config:
"vim.handleKeys": {
"<C-d>": false,
"<C-a>": false,
"<C-w>": false,
"<C-c>": false,
"<C-x>": false,
"<C-n>": false,
"<C-i>": false,
"<C-f>": false,
"<C-.>": false,
"<C-z>": false,
"<C-h>": false
},
"vim.useSystemClipboard": true,
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 selection and paste steps in VS Code using the reported extension, VS Code, Windows, and vim.handleKeys configuration. Compare the current insertion behavior with the expected replacement behavior; the issue is done when pasting over selected text replaces it rather than inserting alongside it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vim, 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