[+] update keybindigs

This commit is contained in:
Siarhei Siniak 2025-01-02 10:42:58 +03:00
parent 212c8c8086
commit 7d1d887692
2 changed files with 57 additions and 1 deletions

@ -133,5 +133,24 @@
"key": "ctrl+b", "key": "ctrl+b",
"command": "-extension.vim_ctrl+b", "command": "-extension.vim_ctrl+b",
"when": "editorTextFocus && vim.active && vim.use<C-b> && !inDebugRepl && vim.mode != 'Insert'" "when": "editorTextFocus && vim.active && vim.use<C-b> && !inDebugRepl && vim.mode != 'Insert'"
},
{
"key": "ctrl+w",
"command": "-workbench.action.closeActiveEditor"
},
{
"key": "ctrl+w",
"command": "-workbench.action.closeGroup",
"when": "activeEditorGroupEmpty && multipleEditorGroups"
},
{
"key": "ctrl+w",
"command": "-extension.vim_ctrl+w",
"when": "editorTextFocus && vim.active && vim.use<C-w> && !inDebugRepl"
},
{
"key": "ctrl+w",
"command": "workbench.action.closeActiveEditor",
"when": "editorTextFocus"
} }
] ]

@ -47,5 +47,42 @@
"workbench.preferredHighContrastColorTheme": "Monokai", "workbench.preferredHighContrastColorTheme": "Monokai",
"workbench.preferredHighContrastLightColorTheme": "Monokai", "workbench.preferredHighContrastLightColorTheme": "Monokai",
"workbench.preferredLightColorTheme": "Monokai", "workbench.preferredLightColorTheme": "Monokai",
"mesonbuild.downloadLanguageServer": false "mesonbuild.downloadLanguageServer": false,
// "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>", "w"],
"after": ["<C-w>"],
// "after": ["d", "d"]
},
// {
// "before": ["<C-n>"],
// "commands": [":nohl"]
// },
// {
// "before": ["K"],
// "commands": ["lineBreakInsert"],
// "silent": true
// }
],
"vim.leader": "\\",
// "vim.handleKeys": {
// "<C-a>": false,
// "<C-f>": false
// },
"// To improve performance",
"extensions.experimental.affinity": {
"vscodevim.vim": 1
},
} }