Fork me on GitHub
#spacemacs
<
2017-01-23
>
rishat05:01:49

Dear channel, I just recently started learning Spacemacs and I have a question. Say, I have this code:

(->
 abc
 def)
Now, I want to swap last two lines so it becomes
(->
 def
 abc)
Is there a single command for that? I was trying to guess by the name (`SPC ?`), but so far nothing helpful has popped out, but still, I have strong feeling that it could be done.

reefersleep09:01:47

@rishat: Try sp-transpose-sexp (I had trouble finding it as well : ) with SPC k t (whilst standing on the latter of the items you want to swap)

jamieorc16:01:58

I want to change the default background color of spacemacs-light theme. Where/how to do that?

alandipert16:01:14

spc spc customize-themes iirc

alandipert16:01:31

at least, that's the old emacs way. don't know if there's a cool spacemacs alternative way

jamieorc17:01:26

thanks, Alan,. I’m digging spacemacs mostly, but keep getting lost in the emacs pit of trying find the way to do a simple change

alandipert17:01:09

cool. it's a pit, but also a powerful pit

alandipert17:01:29

i like spacemacs partly because it's 'just emacs' underneath, with all the craziness if you need it

jamieorc17:01:57

I’ve been in and out of emacs for 17 years, Spacemacs is the first rational version I’ve seen, lol