VScode+Vim高效开发
作者:互联网
前提(只针对windows版本)
- 插件市场安装Vim
- ctrl+shift+p打开setting.json,将以下内容写入当中
点击查看代码
"vim.easymotion": true,
"vim.incsearch": true,
"vim.useSystemClipboard": true,
"vim.useCtrlKeys": true,
"vim.hlsearch": true,
"vim.insertModeKeyBindings": [
{
"before": ["j", "j"],
"after": ["<Esc>"]
}
],
"vim.normalModeKeyBindingsNonRecursive": [
{
"before": ["<leader>", "d"],
"after": ["d", "d"]
},
{
"before": ["<C-n>"],
"commands": [":nohl"]
},
{
"before": ["K"],
"commands": ["lineBreakInsert"],
"silent": true
}
],
"vim.leader": "<space>",
"vim.handleKeys": {
"<C-a>": false,
"<C-f>": false
}
vim模式
- 普通模式(NORMAL)
- 插入模式(INSERT)
- 可视模式(VISUAL)
- 命令模式()
光标移动
标签:高效,false,VScode,after,模式,vim,Vim,true,before 来源: https://www.cnblogs.com/NanKe-Studying/p/16508417.html