Skip to content

Instantly share code, notes, and snippets.

@helloworld12321
Last active March 30, 2023 01:03
Show Gist options
  • Save helloworld12321/9cfd26dbe79cf7fc6749a4c3822bf6e3 to your computer and use it in GitHub Desktop.
Save helloworld12321/9cfd26dbe79cf7fc6749a4c3822bf6e3 to your computer and use it in GitHub Desktop.
VS Code Settings
[
{
"key": "shift+cmd+k",
"command": "-editor.action.deleteLines",
"when": "textInputFocus && !editorReadonly"
},
{
"key": "shift+cmd+k",
"command": "workbench.action.toggleZenMode"
},
{
"key": "cmd+k z",
"command": "-workbench.action.toggleZenMode"
},
{
"key": "cmd+k cmd+f",
"command": "workbench.action.closeFolder",
"when": "emptyWorkspaceSupport"
},
{
"key": "cmd+k f",
"command": "-workbench.action.closeFolder",
"when": "emptyWorkspaceSupport"
},
{
"key": "cmd+k cmd+f",
"command": "-editor.action.formatSelection",
"when": "editorHasDocumentSelectionFormattingProvider && editorTextFocus && !editorReadonly"
},
{
"key": "shift+cmd+j",
"command": "-workbench.action.search.toggleQueryDetails",
"when": "inSearchEditor || searchViewletFocus"
},
{
"key": "cmd+b",
"command": "-markdown.extension.editing.toggleBold",
"when": "editorTextFocus && !editorReadonly && editorLangId == 'markdown'"
},
{
"key": "cmd+i",
"command": "-markdown.extension.editing.toggleItalic",
"when": "editorTextFocus && !editorReadonly && editorLangId == 'markdown'"
},
{
"key": "shift+enter",
"command": "-python.execSelectionInTerminal",
"when": "editorTextFocus && !findInputFocussed && !python.datascience.ownsSelection && !replaceInputFocussed && editorLangId == 'python'"
},
{
"key": "cmd+k cmd+o",
"command": "workbench.action.files.openFileFolder"
},
{
"key": "cmd+k cmd+o",
"command": "workbench.action.files.openLocalFileFolder",
"when": "remoteFileDialogVisible"
},
{
"key": "cmd+w",
"command": "-workbench.action.closeWindow",
"when": "!editorIsOpen && !multipleEditorGroups"
},
{
"key": "shift+cmd+o",
"command": "workbench.action.quickOpen"
},
{
"key": "shift+cmd+o",
"command": "-workbench.action.gotoSymbol"
},
{
"key": "cmd+]",
"command": "-editor.action.indentLines",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "cmd+]",
"command": "-markdown.extension.onIndentLines",
"when": "editorTextFocus && !suggestWidgetVisible && editorLangId =~ /^markdown$|^rmd$|^quarto$/"
},
{
"key": "cmd+[",
"command": "-editor.action.outdentLines",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "cmd+[",
"command": "-markdown.extension.onOutdentLines",
"when": "editorTextFocus && !suggestWidgetVisible && editorLangId =~ /^markdown$|^rmd$|^quarto$/"
},
{
"key": "cmd+]",
"command": "workbench.action.navigateForward",
"when": "canNavigateForward"
},
{
"key": "ctrl+shift+-",
"command": "-workbench.action.navigateForward",
"when": "canNavigateForward"
},
{
"key": "ctrl+-",
"command": "-workbench.action.navigateBack",
"when": "canNavigateBack"
},
{
"key": "cmd+[",
"command": "workbench.action.navigateBack"
}
]
{
"[plaintext]": {
"editor.wordWrap": "on"
},
"[markdown]": {
"editor.wordWrap": "on"
},
"[python]": {
"editor.tabSize": 4
},
"files.associations": {
"*.inc": "z80-asm",
"*.bats": "shellscript"
},
"editor.rulers": [
80,
120
],
"editor.lightbulb.enabled": false,
"editor.tabSize": 2,
"editor.renderWhitespace": "none",
"workbench.tree.indent": 13,
"zenMode.hideLineNumbers": false,
"editor.suggestSelection": "first",
"workbench.tree.renderIndentGuides": "none",
"editor.minimap.enabled": false,
"window.zoomLevel": 0,
"editor.detectIndentation": false,
"breadcrumbs.enabled": false,
"workbench.editor.closeOnFileDelete": true,
"editor.codeLens": false,
"extensions.ignoreRecommendations": false,
"editor.fontSize": 12,
"files.trimTrailingWhitespace": true,
"liveshare.anonymousGuestApproval": "accept",
"workbench.startupEditor": "none",
"workbench.editor.enablePreview": false,
"files.exclude": {
"**/.classpath": true,
"**/.project": true,
"**/.settings": true,
"**/.factorypath": true
},
"java.project.importOnFirstTimeStartup": "automatic",
"java.debug.settings.enableRunDebugCodeLens": false,
"javascript.suggestionActions.enabled": false,
"workbench.editor.showTabs": false,
"workbench.editor.showIcons": false,
"workbench.colorTheme": "Horizon",
"workbench.iconTheme": null,
"editor.fontFamily": "'Fira Code', Menlo, Monaco, 'Courier New', monospace",
"terminal.integrated.fontSize": 13,
"liveshare.diagnosticLogging": true,
"workbench.editorAssociations": {
"*.ipynb": "jupyter.notebook.ipynb"
},
"javascript.preferences.quoteStyle": "single",
"typescript.preferences.quoteStyle": "single",
"explorer.decorations.colors": false,
"explorer.autoReveal": false,
"files.insertFinalNewline": true,
"files.trimFinalNewlines": true,
"files.autoSave": "afterDelay",
"editor.bracketPairColorization.enabled": false,
"terminal.integrated.shellIntegration.decorationsEnabled": "never",
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment