Visual Studio Code – Make "cut" command work only when text is selected
The default behaviour of Ctrl+X in VSCode in the absence of selected text is to cut the current line. I would like to configure VSCode so that Ctrl+X only works if text is selected. I have tried adding the following…