Skip to content

Can't use Shift key when customizing key bindings? #9914

@vietan0

Description

@vietan0

I want to add a custom keybinding and had some success:

"vim.normalModeKeyBindingsNonRecursive": [
    {
      "before": ["<Space>"],
      "after": ["o", "Esc"]
    }, 
]

That works. But this does not:

"vim.normalModeKeyBindingsNonRecursive": [
  {
    "before": ["<Shift-Space>"],
    "after": ["O", "Esc"]
  },
],

I'm not sure what the problem is. I have tried ["<Shift-Space>"], ["<Shift+Space>"], ["<S-Space>"], ["<S+Space>"], ["<S>", "<Space>"], none of them works.

Originally posted by @vietan0 in #9913

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions