Skip to content

Instantly share code, notes, and snippets.

@jefffriesen
Created October 6, 2018 15:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jefffriesen/5cd770c1047bcc616439ff825aaca221 to your computer and use it in GitHub Desktop.
Save jefffriesen/5cd770c1047bcc616439ff825aaca221 to your computer and use it in GitHub Desktop.
Keybindings override for using the calva clojure extension in vscode. The control-option-v was impossible...
// Place your key bindings in this file to overwrite the defaults
[
{
"key": "ctrl+v c",
"command": "calva.connect"
},
{
"key": "ctrl+alt+v c",
"command": "-calva.connect"
},
{
"key": "ctrl+v enter",
"command": "calva.evaluateFile"
},
{
"key": "ctrl+alt+v enter",
"command": "-calva.evaluateFile"
},
{
"key": "ctrl+v e",
"command": "calva.evaluateSelection"
},
{
"key": "ctrl+alt+v e",
"command": "-calva.evaluateSelection"
},
{
"key": "ctrl+v alt+e",
"command": "calva.evalCurrentFormInREPLTerminal"
},
{
"key": "ctrl+alt+v alt+e",
"command": "-calva.evalCurrentFormInREPLTerminal"
},
{
"key": "ctrl+v space",
"command": "calva.evaluateCurrentTopLevelForm"
},
{
"key": "ctrl+alt+v space",
"command": "-calva.evaluateCurrentTopLevelForm"
},
{
"key": "ctrl+v alt+space",
"command": "calva.evalCurrentTopLevelFormInREPLTerminal"
},
{
"key": "ctrl+alt+v alt+space",
"command": "-calva.evalCurrentTopLevelFormInREPLTerminal"
},
{
"key": "ctrl+v p",
"command": "calva.evaluateSelectionPrettyPrint"
},
{
"key": "ctrl+alt+v p",
"command": "-calva.evaluateSelectionPrettyPrint"
},
{
"key": "ctrl+v r",
"command": "calva.evaluateSelectionReplace"
},
{
"key": "ctrl+alt+v r",
"command": "-calva.evaluateSelectionReplace"
},
{
"key": "ctrl+v ctrl+alt+p",
"command": "calva.evaluateCurrentTopLevelFormPrettyPrint"
},
{
"key": "ctrl+alt+v ctrl+alt+p",
"command": "-calva.evaluateCurrentTopLevelFormPrettyPrint"
},
{
"key": "ctrl+v ctrl+c",
"command": "calva.recreateCljsRepl"
},
{
"key": "ctrl+alt+v ctrl+c",
"command": "-calva.recreateCljsRepl"
},
{
"key": "ctrl+v ctrl+v",
"command": "calva.activate",
"when": "!calva:activated"
},
{
"key": "ctrl+alt+v ctrl+alt+v",
"command": "-calva.activate",
"when": "!calva:activated"
},
{
"key": "ctrl+v l",
"command": "calva.lintFile"
},
{
"key": "ctrl+alt+v l",
"command": "-calva.lintFile"
},
{
"key": "ctrl+v alt+n",
"command": "calva.loadNamespace"
},
{
"key": "ctrl+alt+v alt+n",
"command": "-calva.loadNamespace"
},
{
"key": "ctrl+v z",
"command": "calva.openREPLTerminal"
},
{
"key": "ctrl+alt+v z",
"command": "-calva.openREPLTerminal"
},
{
"key": "ctrl+v shift+c",
"command": "calva.reconnect"
},
{
"key": "ctrl+alt+v shift+c",
"command": "-calva.reconnect"
},
{
"key": "ctrl+v ctrl+t",
"command": "calva.rerunTests"
},
{
"key": "ctrl+alt+v ctrl+t",
"command": "-calva.rerunTests"
},
{
"key": "ctrl+v t",
"command": "calva.runNamespaceTests"
},
{
"key": "ctrl+alt+v t",
"command": "-calva.runNamespaceTests"
},
{
"key": "ctrl+v s",
"command": "calva.selectCurrentForm"
},
{
"key": "ctrl+alt+v s",
"command": "-calva.selectCurrentForm"
},
{
"key": "ctrl+v n",
"command": "calva.setREPLNamespace"
},
{
"key": "ctrl+alt+v n",
"command": "-calva.setREPLNamespace"
},
{
"key": "ctrl+v alt+c",
"command": "calva.toggleCLJCSession"
},
{
"key": "ctrl+alt+v alt+c",
"command": "-calva.toggleCLJCSession"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment