Add more keybindings for vim
This commit is contained in:
@@ -29,9 +29,9 @@
|
|||||||
"command": "workbench.action.nextEditor",
|
"command": "workbench.action.nextEditor",
|
||||||
},
|
},
|
||||||
//{
|
//{
|
||||||
// "key": "ctrl+n",
|
// "key": "ctrl+n",
|
||||||
// "command": "workbench.view.explorer",
|
// "command": "workbench.view.explorer",
|
||||||
// "when":
|
// "when":
|
||||||
//},
|
//},
|
||||||
{
|
{
|
||||||
"key": "space e",
|
"key": "space e",
|
||||||
@@ -68,9 +68,27 @@
|
|||||||
"command": "filesExplorer.paste",
|
"command": "filesExplorer.paste",
|
||||||
"when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceReadonly && !inputFocus"
|
"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",
|
"key": "ctrl+t",
|
||||||
"command": "workbench.action.focusActiveEditorGroup",
|
"command": "runCommands",
|
||||||
|
"args": {
|
||||||
|
"commands": [
|
||||||
|
"workbench.action.focusActiveEditorGroup",
|
||||||
|
"workbench.action.terminal.toggleTerminal"
|
||||||
|
]
|
||||||
|
},
|
||||||
"when": "terminalFocus"
|
"when": "terminalFocus"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -88,4 +106,4 @@
|
|||||||
"command": "selectPrevCodeAction",
|
"command": "selectPrevCodeAction",
|
||||||
"when": "codeActionMenuVisible"
|
"when": "codeActionMenuVisible"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@@ -144,4 +144,7 @@
|
|||||||
"*.sdb": "${capture}.${extname}-*",
|
"*.sdb": "${capture}.${extname}-*",
|
||||||
"*.s3db": "${capture}.${extname}-*"
|
"*.s3db": "${capture}.${extname}-*"
|
||||||
},
|
},
|
||||||
|
"[jsonc]": {
|
||||||
|
"editor.defaultFormatter": "vscode.json-language-features"
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user