// in settings.json
//-------- Конфигурация редактора --------
"macros": {
"deleteLines": [
//"editor.action.deleteLines",
{"command": "type", "args": {"text": " "}},
"cursorEnd",
"deleteAllLeft",
"deleteLeft"
]
}, // ...
// in keybindings.json
{
"key": "win+backspace",
"command": "macros.deleteLines",
"when": "editorTextFocus && !editorReadonly"
},