Skip to content

Instantly share code, notes, and snippets.

@zelark
Last active December 10, 2020 13:29
Show Gist options
  • Save zelark/a0d3c7b1efcdf6e2976edd0af68ad2e7 to your computer and use it in GitHub Desktop.
Save zelark/a0d3c7b1efcdf6e2976edd0af68ad2e7 to your computer and use it in GitHub Desktop.
#vscode #settings
// Place your key bindings in this file to overwrite the defaults
[
{
"key": "cmd+enter",
"command": "clojureVSCode.evalAndShowResult"
},
{
"key": "cmd+k cmd+e",
"command": "clojureVSCode.eval"
},
{
"key": "tab",
"command": "-calva-fmt.formatCurrentForm",
"when": "editorTextFocus && !editorReadOnly && !hasOtherSuggestions && !inSnippetMode && !suggestWidgetVisible && editorLangId == 'clojure'"
},
{
"key": "cmd+k cmd+j",
"command": "editor.action.jumpToBracket",
"when": "editorTextFocus"
},
{
"key": "shift+cmd+\\",
"command": "-editor.action.jumpToBracket",
"when": "editorTextFocus"
},
{
"key": "cmd+k cmd+s",
"command": "calva.selectCurrentForm"
},
{
"key": "ctrl+alt+c s",
"command": "-calva.selectCurrentForm"
},
{
"key": "cmd+n",
"command": "explorer.newFile",
"when": "filesExplorerFocus"
}
]
{
"editor.fontFamily": "FiraCode-Retina",
"editor.fontLigatures": true,
"editor.fontSize": 18,
"editor.tabSize": 2,
"terminal.integrated.fontSize": 16,
"calva.prettyPrintingOptions": {
"enabled": true,
"printEngine": "pprint",
"width": 120,
"maxLength": 50
},
"calva.highlight.rainbowIndentGuides": false,
"calva.highlight.highlightActiveIndent": false,
"[clojure]": {
"editor.wordSeparators": "\t ()\"':,;~@#$%^&{}[]`",
"editor.autoClosingBrackets": "always",
"editor.autoClosingQuotes": "always",
"editor.formatOnType": true,
"editor.autoIndent": "full",
"editor.formatOnPaste": false,
"files.trimTrailingWhitespace": true,
"editor.matchBrackets": "always",
"editor.renderIndentGuides": false,
"editor.parameterHints.enabled": false
},
"calva.statusColor": {
"disconnectedColor": "#AA3731",
"launchingColor": "#AA3731",
"connectedStatusColor": "#474747",
"typeStatusColor": "#474747"
},
"workbench.colorCustomizations": {
// "editorSuggestWidget.selectedBackground":"#d6ebff",
// "editorSuggestWidget.highlightForeground": "#0066bf",
// "list.activeSelectionBackground": "#d6ebff",
// "list.highlightForeground": "#0066bf",
},
"calva.REPLWindowPromptKeyMap": "single-line",
"calva.paredit.defaultKeyMap": "strict",
"calva.fmt.formatAsYouType": true,
"clojure.format.enable": true,
"calva.fmt.newIndentEngine": true,
"editor.wordWrap": "off",
"editor.wordWrapColumn": 120,
"editor.scrollBeyondLastLine": false,
"editor.trimAutoWhitespace": false,
"editor.lineNumbers": "off",
"editor.folding": true,
"editor.minimap.enabled": false,
"editor.renderIndentGuides": false,
"editor.rulers": [120],
"editor.renderWhitespace": "selection",
"editor.autoClosingBrackets": "never",
"diffEditor.ignoreTrimWhitespace": false,
"window.zoomLevel": 1,
"files.autoSave": "off",
"extensions.ignoreRecommendations": false,
"calva.keybindingsEnabled": true,
"files.exclude": {
"**/.classpath": true,
"**/.project": true,
"**/.settings": true,
"**/.factorypath": true
},
"workbench.colorTheme": "Alabaster",
"zenMode.fullScreen": false,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment