geddski / macros

macros support for VS Code
MIT License
165 stars 36 forks source link

Issue with editor commands #37

Open PZ01 opened 6 years ago

PZ01 commented 6 years ago

keybindings

    {
        "key": "ctrl+k",
        "command": "macros.moveUpFromTerminalAndHidePanel",
        "when": "terminalFocus"
    },

user settings

    "macros": {
        "moveUpFromTerminalAndHidePanel": [
            "editor.action.focusFirstEditorGroup",
            "editor.action.togglePanel"
        ]
    }

From the terminal panel, I press ctrl+kand nothing happens. Am I doing something wrong? I tried creating a simple macro which moves the cursor in the editor a couple of times and it worked fine.