How to set “jj” as Esc in VSCode Vim

Step 1: Open the command palette

shift + cmd + p

Step 2: Search for “Preferences: Open Settings (JSON)”

Step 3: Add the keybinding inside the settings object

    "vim.insertModeKeyBindings": [
        {
            "before": ["j", "j"],
            "after": ["<Esc>"]
        }
    ]

Leave a Reply

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