剪切板共享
这个挺重要的,否则每次右键菜单复制粘贴会奔溃的。
在用户设置
中添加:
"vim.useSystemClipboard": true,
光标的变化
我觉得这个也重要,毕竟在vscode中,状态栏比较小。
可以的值有:line, block, underline, line-thin, block-outline, and underline-thin
"vim.cursorStylePerMode": {
"normal": "block",
"insert": "line-thin",
"replace": "block-outline",
},
高亮搜索
"vim.searchHighlightColor": rgba(150, 150, 150, 0.3),
插入模式下jk退出
"vim.insertModeKeyBindings": [
{
"before": ["j", "k"],
"after": ["<Esc>"]
}
],
可有可无的配置
C-n关闭高亮,leader+w保存
"vim.otherModesKeyBindingsNonRecursive": [
{
"before":["<C-n>"],
"after":[],
"commands": [
{
"command": ":nohl",
"args": []
}
]
},
{
"before": ["leader", "w"],
"after": [],
"commands": [
{
"command": "workbench.action.files.save",
"args": []
}
]
}
],