VSCode: Add keybindings.json

This commit is contained in:
2021-02-11 18:41:16 +01:00
parent 428d53e153
commit e0a674d4f5

View File

@@ -0,0 +1,27 @@
// Place your key bindings in this file to override the defaultsauto[]
[
{
"key": "shift+backspace",
"command": "extension.vim_shift+backspace"
},
{
"key": "shift+backspace",
"command": "-extension.vim_shift+backspace",
"when": "editorTextFocus && vim.active && vim.use<shift+BS> && !inDebugRepl && vim.mode == 'CommandlineInProgress' || editorTextFocus && vim.active && vim.use<shift+BS> && !inDebugRepl && vim.mode == 'SearchInProgressMode'"
},
{
"key": "cmd+backspace",
"command": "extension.vim_ctrl+backspace",
"when": "editorTextFocus && vim.active && vim.use<C-BS> && !inDebugRepl && vim.mode == 'CommandlineInProgress' || editorTextFocus && vim.active && vim.use<C-BS> && !inDebugRepl && vim.mode == 'SearchInProgressMode'"
},
{
"key": "alt+left",
"command": "extension.vim_ctrl+b",
"when": "editorTextFocus && vim.active && vim.use<C-b> && !inDebugRepl"
},
{
"key": "alt+right",
"command": "extension.vim_ctrl+e",
"when": "editorTextFocus && vim.active && vim.use<C-e> && !inDebugRepl"
}
]