How to bind VS code actions to vim commands in VSCodeVim?

738 Views Asked by At

How can I bind VS code actions like workbench.action.toggleActivityBarVisibility to make new vim commands like :tglActivityBar. Here is what I tried in my vscode's settings.json:

"vim.normalModeKeyBindings": [
    {
        "before": [":tglActivityBar"],
        "commands": [
            "workbench.action.toggleActivityBarVisibility",
        ]
    }

It doesn't work.

I'm using VSCodeVim extension for VS code

0

There are 0 best solutions below