Last active
May 27, 2020 22:45
-
-
Save cszentkiralyi/467d5cf7b0604fe2b095e19bd1a07cf1 to your computer and use it in GitHub Desktop.
.vscode
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
// Rebind <Esc> to not do Calva stuff, because that messes with the VIM extension | |
{ | |
"key": "escape", | |
"command": "-calva.clearInlineResults" | |
}, | |
{ | |
"key": "shift+escape", | |
"command": "calva.clearInlineResults", | |
"when": "editorTextFocus && !editorHasMultipleSelections && !editorReadOnly && !hasOtherSuggestions && !suggestWidgetVisible && editorLangId == 'clojure'" | |
} | |
] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"editor.fontSize": 12, | |
"editor.fontFamily": "Hack, Consolas, 'Courier New', monospace", | |
"editor.minimap.enabled": false, | |
"editor.wordWrap": "on", | |
"workbench.editor.enablePreview": false, | |
"workbench.colorTheme": "Tomorrow", | |
"vim.leader": "<space>", | |
"calva.paredit.defaultKeyMap": "none", | |
// Mirror my Emacs/Vim Lisp bindings | |
"vim.normalModeKeyBindings": [ | |
{ "before": ["<leader>", "k", "b"], "commands": ["paredit.barfSexpForward"] }, | |
{ "before": ["<leader>", "k", "B"], "commands": ["paredit.barfSexpBackward"] }, | |
{ "before": ["<leader>", "k", "s"], "commands": ["paredit.slurpSexpForward"] }, | |
{ "before": ["<leader>", "k", "S"], "commands": ["paredit.slurpSexpBackward"] }, | |
{ "before": ["<leader>", "k", "O"], "commands": ["paredit.raiseSexp"] }, | |
{ "before": ["<leader>", "k", "e", "("], "commands": ["paredit.wrapAroundParens"] }, | |
{ "before": ["<leader>", "k", "e", ")"], "commands": ["paredit.wrapAroundParens"] }, | |
{ "before": ["<leader>", "k", "e", "["], "commands": ["paredit.wrapAroundSquare"] }, | |
{ "before": ["<leader>", "k", "e", "]"], "commands": ["paredit.wrapAroundSquare"] }, | |
{ "before": ["<leader>", "k", "e", "{"], "commands": ["paredit.wrapAroundCurly"] }, | |
{ "before": ["<leader>", "k", "e", "}"], "commands": ["paredit.wrapAroundCurly"] }, | |
{ "before": ["<leader>", "k", "e", "\""], "commands": ["paredit.wrapAroundQuote"] }, | |
{ "before": ["<leader>", "k", "W"], "commands": ["paredit.spliceSexp"] }, | |
{ "before": ["<leader>", "k", "<"], "commands": ["paredit.dragSexprBackward"] }, | |
{ "before": ["<leader>", "k", ">"], "commands": ["paredit.dragSexprForward"] }, | |
{ "before": ["("], "commands": [ "paredit.backwardSexp" ] }, | |
{ "before": [")"], "commands": [ "paredit.forwardSexp" ] } | |
], | |
"[clojure]": { | |
"editor.wordSeparators": "\t ()\",;~@#$%^&{}[]`", | |
"editor.autoClosingBrackets": "always", | |
"editor.autoClosingQuotes": "always", | |
"editor.formatOnType": true, | |
"editor.autoIndent": "full", | |
"editor.formatOnPaste": true, | |
"files.trimTrailingWhitespace": false, | |
"editor.matchBrackets": "never", | |
"editor.renderIndentGuides": false, | |
"editor.parameterHints.enabled": false | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment