Add more keybindings for vim

This commit is contained in:
Pablu23
2025-09-03 18:38:30 +02:00
parent da46a8b792
commit 4c85e33831
2 changed files with 26 additions and 5 deletions

View File

@@ -29,9 +29,9 @@
"command": "workbench.action.nextEditor",
},
//{
// "key": "ctrl+n",
// "command": "workbench.view.explorer",
// "when":
// "key": "ctrl+n",
// "command": "workbench.view.explorer",
// "when":
//},
{
"key": "space e",
@@ -68,9 +68,27 @@
"command": "filesExplorer.paste",
"when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceReadonly && !inputFocus"
},
{
"key": "enter",
"command": "runCommands",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsFolder && !inputFocus",
"args": {
"commands": [
"explorer.openAndPassFocus",
"workbench.action.focusActiveEditorGroup",
"workbench.action.toggleSidebarVisibility"
]
}
},
{
"key": "ctrl+t",
"command": "workbench.action.focusActiveEditorGroup",
"command": "runCommands",
"args": {
"commands": [
"workbench.action.focusActiveEditorGroup",
"workbench.action.terminal.toggleTerminal"
]
},
"when": "terminalFocus"
},
{
@@ -88,4 +106,4 @@
"command": "selectPrevCodeAction",
"when": "codeActionMenuVisible"
}
]
]

View File

@@ -144,4 +144,7 @@
"*.sdb": "${capture}.${extname}-*",
"*.s3db": "${capture}.${extname}-*"
},
"[jsonc]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
}