Cleaning up Magit sessions
Leaving Magit status buffers using the
q key will persist the Magit status session until you close it with
SPC u q or quit / restart Spacemacs.
If you have multiple Magit status sessions open, you can use Helm to back close them.
||returns to previous window layout, keeping the Magit status buffer available.|
||kills the magit status buffer and returns to previous layout|
Closing multiple Magit buffers with Helm
Use the Helm transient state menu to bulk delete them.
SPC b bto open all buffers.
magitin the helm prompt to show just the magit buffers
M-SPCopens the Helm Transient state
Tmarks all buffers
M-Ddeletes all marked buffers (and closes the Helm transient state)