I use Spacemacs to write a program in Clojure. I would like to be able to destroy the dock. I tried to select docstring and pressing za , however, this would end the collapse of the whole body of the function.
In particular, I would like to be able to include this:
(defn flip-and-vectorize "Returns a vector with the arguments flipped so that `(flip-and-vectorize 1 2)` returns the following vector `[2 1]`" [ab] [ba])
into something like this
(defn flip-and-vectorize "..." [ab] [ba])
Edit:
Even the ability to collapse arbitrary lines would be acceptable; which means that a minimized version of the above function might look something like this:
(defn flip-and-vectorize ... [ab] [ba])
This would mean that the collapsing logic would not have to understand what a "docstring" is, but just collapses the selected lines.
jason source share