Skip to content

Instantly share code, notes, and snippets.

@mgarratt
Last active August 8, 2025 13:13
Show Gist options
  • Select an option

  • Save mgarratt/65b29ffd736db6cb937a30c9f83fabb7 to your computer and use it in GitHub Desktop.

Select an option

Save mgarratt/65b29ffd736db6cb937a30c9f83fabb7 to your computer and use it in GitHub Desktop.
Conjure Clojure Cheatsheet
Binding Action
<localleader>cd Disconnect from the current nREPL server.
<localleader>cf Connect to a server using the port found in any of the files specified by clojure.nrepl/connection.port-files.
<localleader>ei Interrupt the oldest evaluation you have running.
<localleader>ve View the last exception as data.
<localleader>v1 View the most recent evaluation result.
<localleader>v2 View the 2nd most recent evaluation result.
<localleader>v3 View the 3rd most recent evaluation result.
<localleader>vs View the source of the symbol under the cursor.
<localleader>sc Clone the current nREPL session.
<localleader>sf Create a fresh session from scratch.
<localleader>sq Close the current session.
<localleader>sQ Close all sessions.
<localleader>sl List all sessions.
<localleader>sn Assume the next session in the list.
<localleader>sp Assume the previous session in the list.
<localleader>ss Prompt to select any session in the list.
<localleader>ta Run all currently loaded tests.
<localleader>tn Run all tests within this namespace.
<localleader>tN Run all tests within the alternate namespace to this one. So if you're in foo.bar that would be foo.bar-test and if you're in foo.bar-test it would be foo.bar.
<localleader>tc Run the specific test under the cursor. You can execute from anywhere in the form much like evaluating the root form under the cursor.
<localleader>rr Refresh all changed namespaces.
<localleader>ra Refresh all namespaces, even unchanged.
<localleader>rc Clear the namespace refresh cache.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment