VSCode Vim 设置不适用于使用“”进行重新映射
我的 settings.json
中有这个,用于防止 vim 在删除某些内容时替换我的剪贴板:
"vim.visualModeKeyBindingsNonRecursive": [
{
"before": ["<leader>", "d"],
"after": ["\"_d"]
},
{
"before": ["<leader>", "p"],
"after": ["\"_dP"]
}
],
我还有其他设置,但这个设置不起作用。我怀疑它是 after
设置中的 \"
,不确定这是否真的是问题所在。帮忙?
I have this in my settings.json
for preventing vim from replacing my clipboard when I delete something:
"vim.visualModeKeyBindingsNonRecursive": [
{
"before": ["<leader>", "d"],
"after": ["\"_d"]
},
{
"before": ["<leader>", "p"],
"after": ["\"_dP"]
}
],
I have other settings which work just not this one. I suspect its the \"
in the after
setting, not sure if that's really the problem. Help?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这对我有用。
This is what worked for me.