DEV Community

Discussion on: Which editor/IDE do you use and why?

Collapse
 
samspills_43 profile image
Sam Pillsworth

I'm also a spacemacs user, I might be able to help a little bit!

1) Look into layouts. It "comes for free" with the standard spacemac setup I believe. SPC l will get you to the main layouts menu. I think they function very similarly to tabs. I've saved a standard layout to a file, so I load it when I start spacemacs. (Mine is pretty simple, just a development tab and an org-mode/notes tab)

2) SPC b m will kill all buffers other than the one that is currently in focus. I am pretty sure that this WILL kill buffers that are open in other windows. My preference is to use SPC b b to open the buffer list, and select buffers that I want to kill with C-SPC (this select the buffer), then I can kill all selected buffers with M-D (alt shift d).

3) I'm not really sure what you mean here. You could set up a layout, and have different tabs for each of these editing environments? Unless you mean that you need a shell to run code/tests? Spacemacs can open shell buffers which might help, or you might want to look into layers with the functionality you need. I'm mainly a scala dev lately, and the spacemacs scala layer has great sbt support so I can run tests very easily for whatever buffer I'm in, and changing projects is painless.