2

I'm trying to use Vim mode in Visual Studio Code, using their VSCodeVim extension

In my old vimrc it looks like:

map <S-space> <Esc>

In Code's settings.json I've tried:

"vim.insertModeKeyBindingsNonRecursive": [
    {
        "before": ["<S-Space>"],
        "after": ["<Esc>"]
    }
],

Doesn't work :(

sudo bangbang
  • 27,127
  • 11
  • 75
  • 77
Bukov
  • 650
  • 8
  • 19

1 Answers1

3

Looks like a bug in their addon, not something I was doing wrong.

Here's a workaround

Inside just the normal keybindings.json:

{
    "key": "shift+space",
    "command": "extension.vim_escape",
    "when": "editorTextFocus"
 },
Bukov
  • 650
  • 8
  • 19