Indenting code in Visual Studio Code with VSCodeVim plugin

Here is the configuration I use for VSCodeVim to enable using Tab and Shift-Tab to indent and unindent code in normal and visual modes.

"vim.otherModesKeyBindingsNonRecursive": 
[
    {
        "before": ["S-Tab"],
        "after": [],
        "commands": [
            {
                "command": "editor.action.outdentLines",
                "args": []
            }
        ]
    },
    {
        "before": ["Tab"],
        "after": [],
        "commands": [
            {
                "command": "editor.action.indentLines",
                "args": []
            }
        ]
    }
]
This entry was posted in Work and tagged , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *