![vscodevim 正常模式键绑定切换终端](https://linux22.com/image/1650549/vscodevim%20%E6%AD%A3%E5%B8%B8%E6%A8%A1%E5%BC%8F%E9%94%AE%E7%BB%91%E5%AE%9A%E5%88%87%E6%8D%A2%E7%BB%88%E7%AB%AF.png)
我一直在使用 vscodevim,并尝试重新映射 Ctrl+` 命令以在正常模式下切换终端,但似乎不起作用。这是我的 settings.json 文件。
{
"latex-workshop.view.pdf.viewer": "tab",
"liveServer.settings.CustomBrowser": "chrome",
"explorer.confirmDelete": false,
"workbench.editorAssociations": [
{
"viewType": "jupyter.notebook.ipynb",
"filenamePattern": "*.ipynb"
}
],
"C_Cpp.updateChannel": "Insiders",
"vim.leader": "<space>",
"vim.insertModeKeyBindings": [
{
"before": ["k", "j"],
"after": ["<Esc>"]
},
],
"vim.normalModeKeyBindings": [
{
"before": ["<leader>", "f"],
"after": ["<C-`>"]
}
],
"terminal.integrated.tabs.enabled": true
}
如果您需要的话,这是我的 keybindings.json 文件。
[
{
"key": "tab",
"command": "tab",
"when": "editorTextFocus && !editorTabMovesFocus"
},
{
"key": "shift+tab",
"command": "outdent",
"when": "editorTextFocus && !editorTabMovesFocus"
},
]