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

+------------------------------------------------------------------------------+ | cd | Disconnect from the current nREPL server. | | cf | Connect to a server using the port found in any of the | | | files specified by clojure.nrepl/connection.port-files. | | ei | Interrupt the oldest evaluation you have running. | | ve | View the last exception as data. | | v1 | View the most recent evaluation result. | | v2 | View the 2nd most recent evaluation result. | | v3 | View the 3rd most recent evaluation result. | | vs | View the source of the symbol under the cursor. | | sc | Clone the current nREPL session. | | sf | Create a fresh session from scratch. | | sq | Close the current session. | | sQ | Close all sessions. | | sl | List all sessions. | | sn | Assume the next session in the list. | | sp | Assume the previous session in the list. | | ss | Prompt to select any session in the list. | | ta | Run all currently loaded tests. | | tn | Run all tests within this namespace. | | 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. | | 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. | | rr | Refresh all changed namespaces. | | ra | Refresh all namespaces, even unchanged. | | rc | Clear the namespace refresh cache. |

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment