diff --git a/.config/Code - OSS/User/keybindings.json b/.config/Code - OSS/User/keybindings.json index 0a4938a..d0ffe5d 100644 --- a/.config/Code - OSS/User/keybindings.json +++ b/.config/Code - OSS/User/keybindings.json @@ -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" } -] +] \ No newline at end of file diff --git a/.config/Code - OSS/User/settings.json b/.config/Code - OSS/User/settings.json index 2b5256c..542ae85 100644 --- a/.config/Code - OSS/User/settings.json +++ b/.config/Code - OSS/User/settings.json @@ -144,4 +144,7 @@ "*.sdb": "${capture}.${extname}-*", "*.s3db": "${capture}.${extname}-*" }, + "[jsonc]": { + "editor.defaultFormatter": "vscode.json-language-features" + }, }