archwhite
6/27/2019 - 9:19 AM

VScode delete line win+backspace line in sublime

// 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"
},