add:添加vscode下的vim配置

This commit is contained in:
taynpg 2024-09-11 16:59:34 +08:00
parent b343b4a148
commit cdd7ad932b

View File

@ -25,6 +25,37 @@
}
]
VIM配置:
"editor.lineNumbers": "relative",
"vim.leader": "<space>",
"vim.useSystemClipboard": true,
"vim.useCtrlKeys": true,
"vim.normalModeKeyBindings": [
{
"before": [
"<leader>",
"g",
"c"
],
"commands": ["workbench.action.showCommands"],
},
{
"before": [
"<leader>",
"c",
"f"
],
"commands": ["editor.action.formatDocument"]
},
{
"before": [
"<leader>",
"j",
],
"commands": ["workbench.action.togglePanel"]
}
]
microsoft cpp intelligence config:
{
"files.autoSave": "onFocusChange",