VS Code Vim copies (yanks) everything I select, without pressing y
Describe the bug
Any time I select anything (visual mode) whatever I last selected is automatically in my clipboard, as if I yanked it (by I never yanked it).
To Reproduce
- Open any file.
- Select text in visual mode.
- ctrl+c to exit visual mode
- press p, and it will paste whatever you just selected, even if you did not yank it.
Expected behavior
Selecting text should not automatically copy stuff into clipboard.
Environment (please complete the following information):
- Extension (VsCodeVim) version: v1.21.10 (2021-10-14)
- VSCode version:
Version: 1.62.3 (user setup)
Commit: ccbaa2d27e38e5afa3e5c21c1c7bef4657064247
Date: 2021-11-17T08:11:14.551Z
Electron: 13.5.2
Chrome: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Windows_NT x64 10.0.19042
Additional context
This happens even on fresh VS Code installs in Windows or Linux. This default behavior does not match Vim, and not desirable.
The source of this bug is the Vim: Override Copy option. Disabling this option fixes the issue.
@J-Fields Found the source of the problem. ^
Can confirm that this bug still exists, and that your solution of disabling the option fixed it.