Turn Off Whole Line Copy in Visual Studio Code August 1, 2023 by Tarik In Settings enter the following line: "editor.emptySelectionClipboard": false That should do exactly what you want.