"vim.easymotion": true,
"vim.useSystemClipboard": true,
"vim.hlsearch": true,
"vim.leader": "<space>",
"vim.useCtrlKeys": true,
"vim.mouseSelectionGoesIntoVisualMode": false,
"vim.camelCaseMotion.enable": true,
"vim.highlightedyank.enable": true,
"vim.showMarksInGutter": true,
"vim.statusBarColorControl": true,
"vim.normalModeKeyBindings": [ // normal 模式按键绑定
{ // 使用 VSCode 内置的撤销
"before": [
"u",
],
"commands": [
"undo"
]
},
{ // 绑定 VSCode 的重做
"before": [
"U"
],
"commands": [
"redo"
]
},
{ // gs 跳转到符号
"before": [
"g",
"s"
],
"commands": [
"workbench.action.gotoSymbol",
]
},
{ // gf 跳转到编辑器
"before": [
"g",
"f"
],
"commands": [
"workbench.action.showAllEditors"
]
},
{ // gh 跳转到左面的编辑器
"before": [
"g",
"h"
],
"commands": [
"workbench.action.previousEditor"
]
},
{ // gl 跳转到右面的编辑器
"before": [
"g",
"l"
],
"commands": [
"workbench.action.nextEditor"
]
},
{ // <leader> + j 跳转到上一位置
"before": [
"<leader>",
"j"
],
"commands": [
"extension.vim_ctrl+o"
]
},
{ // <leader> + k 跳转到下一位置
"before": [
"<leader>",
"k"
],
"commands": [
"extension.vim_ctrl+i"
]
},
{ // gj 快速下移
"before": [
"g",
"j"
],
"commands": [
"extension.vim_ctrl+d"
]
},
{ // gk 快速上移
"before": [
"g",
"k"
],
"commands": [
"extension.vim_ctrl+u"
]
},
{ // 保存文件
"before": [
"<leader>",
"s"
],
"after": [
"<Esc>",
":",
"w",
"<Enter>"
]
},
{
"before": [
"ctrl+j"
],
"commands": [
"editor.action.moveLinesDownAction"
]
}, // moveLineDown
{
"before": [
"ctrl+k"
],
"commands": [
"editor.action.moveLinesUpAction"
]
} // moveLineUp
],