3

I had this setting for couple of weeks now but it stopped working today. This is a setting for vscode vim easymotion. I dont know what happened. I havent change anything. Does anyone know why?

OS macOS high Sierra.
Vscode Version 1.24.1 (1.24.1).
Vscodevim v0.14.0 .

 "vim.otherModesKeyBindingsNonRecursive": [
        {
            "before": [
                "s"
            ],
            "after": [
                "leader",
                "leader",
                "s"
            ]
        }
    ],
sudo bangbang
  • 27,127
  • 11
  • 75
  • 77
bluejimmy
  • 390
  • 6
  • 14

1 Answers1

5

It looks like otherModesKeyBindingsNonRecursive has been replaced. See pull request 2726 on the VSCodeVim project. Instead see the current Key Remapping section in the project's README:

Custom remappings are defined on a per-mode basis.

"vim.insertModeKeyBindings"/"vim.normalModeKeyBindings"/"vim.visualModeKeyBindings"

Their example usage:

  • Bind : to show the command palette:
"vim.normalModeKeyBindingsNonRecursive": [
    {
        "before": [":"],
        "commands": [
            {
                "command": "workbench.action.showCommands",
            }
        ]
    }
]
chris
  • 2,740
  • 3
  • 25
  • 23