Powerful Keymaps in VS Code Vim

03/11/20191 Min Read — In DevTools, Vim, VS Code

Today I learned that you can remap Vim keys with VS Code. In my NeoVim config I have some custom keybindings that I can now replicate with VS Code.

The official VSCodeVim documentation has some examples:

In this example, you bind jj to <esc> in insert mode:

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

The docs also have some nifty VSCodeVim tricks that you might want to check out.

Further Reading