Fork me on GitHub
#spacemacs
<
2020-11-10
>
murtaza5220:11:06

I have buffers from multiple projects open, I would like to close all buffers except for 1 project, how do I do that ?

practicalli-johnny20:11:46

I use layouts in Spacemacs to manage buffers by project. It would seem SPC l K will kill all other buffers that are not in the current buffer. Not at computer, so haven't tried https://practicalli.github.io/spacemacs/spacemacs-basics/working-with-projects/layouts.html

practicalli-johnny20:11:39

There might be something in projectile, but never looked for this.

murtaza5223:11:24

thanks let me try layouts

murtaza5223:11:51

1. how do I change the clojure formatting config in spacemacs ? (I am using practicall's spacemacs.d) 2. is there a way to disable automatic clojure formatting on a buffer ?

zane00:11:23

These might help you get where you’re going:

practicalli-johnny08:11:53

Look at lines 930 to 940 in the practicallli/spacemacs.d config. There are three formatting setting for clojure, align argument, align forms, aggressive indent. Comment these as you wish (and restart)

murtaza5210:11:03

@U050CT4HR @U05254DQM thanks that resolved it !