Vim – extension config flag
Tick the checkbox in settings by searching for “vim clip”.
or
Paste the following inside your VS Code’s settings.json file:
"vim.useSystemClipboard": true
Access VSCode settings.json file:
- Press Ctrl + , (or go to File > Preferences > Settings)
- Click the icon: “file with arrow” in the top right corner

Settings found in VSCodeVim/Vim repository quick-example