3

我有这个设置几个星期了,但它今天停止工作。这是 vscode vim easymotion 的设置。我不知道发生了什么。我没有改变任何东西。有谁知道为什么?

操作系统 macOS 高 Sierra。
Vscode 版本 1.24.1 (1.24.1)。
Vscodevim v0.14.0 。

 "vim.otherModesKeyBindingsNonRecursive": [
        {
            "before": [
                "s"
            ],
            "after": [
                "leader",
                "leader",
                "s"
            ]
        }
    ],
4

1 回答 1

5

好像otherModesKeyBindingsNonRecursive已经换了。请参阅 VSCodeVim 项目上的拉取请求 2726。而是查看项目 README 中当前的Key Remapping 部分:

自定义重新映射是在每个模式的基础上定义的。

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

他们的示例用法:

  • 绑定:显示命令面板:
"vim.normalModeKeyBindingsNonRecursive": [
    {
        "before": [":"],
        "commands": [
            {
                "command": "workbench.action.showCommands",
            }
        ]
    }
]
于 2018-07-05T17:38:58.687 回答