为什么vscode vim.otherModesKeyBindingNonRecursive是未知的配置?

时间:2018-06-29 04:22:40

标签: visual-studio-code vscode-settings vscodevim

我已经有几个星期的设置了,但是今天它停止了工作。这是vscode vim easymotion的设置。我不知道发生了什么。我什么都没改变。有人知道为什么吗?

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

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

1 个答案:

答案 0 :(得分:2)

似乎otherModesKeyBindingsNonRecursive已被替换。 See pull request 2726 on the VSCodeVim project。而是在项目的自述文件中查看当前的Key Remapping section

  

自定义重新映射是在每个模式下定义的。

     

“ vim.insertModeKeyBindings” /“ vim.normalModeKeyBindings” /“ vim.visualModeKeyBindings”

示例用法:

  • 绑定:显示命令面板:
"vim.normalModeKeyBindingsNonRecursive": [
    {
        "before": [":"],
        "commands": [
            {
                "command": "workbench.action.showCommands",
            }
        ]
    }
]