如何在自定义代码keybinding中的和弦之后添加超时 我在我的Neovim扩展名中有一个自定义的钥匙扣,以vs代码为代码,映射为和弦“ j k”。当我处于插入模式时,我现在可以成功键入“ JK”以退出插入...

问题描述 投票:0回答:2

enter image description here

enter image description here伸出来只是在文档中:

[ { "command": "vscode-neovim.compositeEscape1", "key": "j", "when": "neovim.mode == insert && editorTextFocus", "args": "j" }, { "command": "vscode-neovim.compositeEscape2", "key": "k", "when": "neovim.mode == insert && editorTextFocus", "args": "k" } ]
visual-studio-code vscode-keybinding
2个回答
1
投票

Theur是一种实现此目的的新方法。
{
    "vscode-neovim.compositeKeys": {
        "jk": {
            "command": "vscode-neovim.escape",
        },
    },
}

0
投票

最新问题
© www.soinside.com 2019 - 2025. All rights reserved.