VSCodeVim / Vim

:star: Vim for Visual Studio Code
http://aka.ms/vscodevim
MIT License
14.01k stars 1.32k forks source link

Copy/Cut via Y/X does not work #9245

Closed buhtz closed 2 months ago

buhtz commented 2 months ago

Describe the bug Using y or x for cpoy or cut has no effect on Windows 10.

To Reproduce Mark a text section or just us the current line. Press y (or x). Go to another window in another application and paste.

Regular Ctrl+C works fine.

Expected behavior Regular vim-like copy/cut/paste behavior.

Extension (VsCodeVim) version: "Vim 1.28.0" VSCode version: 1.92.2 OS: Windows 10 (I am forced to)

HenryTSZ commented 2 months ago

add this to settings.json

  "vim.useSystemClipboard": true,
buhtz commented 2 months ago

Works. Thanks.