Code folding allows you to collapse a code block onto one line, allowing you to see more of your code in the window. A code block for Clojure includes comments,
defn and the threading macros
Overview of a namespace
z m shows just the names of all function definitions and vars in a namespace, providing a quick way to review all namespace api.
||Toggle fold for current code block|
||Folds a code block|
||Folds all code in buffer|
||Opens current folded code block|
||Opens current folded code block recursively|
||Opens all folded code blocks in the buffer|
Code Fold Transient State
You can use a transient state for folding code via
SPC z ., which seems to be most useful when reviewing code.