This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-02-12
Channels
- # adventofcode (6)
- # beginners (148)
- # boot (5)
- # calva (1)
- # cider (10)
- # cljdoc (10)
- # cljs-dev (8)
- # cljsrn (10)
- # clojure (180)
- # clojure-dev (24)
- # clojure-europe (2)
- # clojure-finland (1)
- # clojure-italy (32)
- # clojure-losangeles (1)
- # clojure-nl (40)
- # clojure-spec (10)
- # clojure-uk (44)
- # clojured (4)
- # clojurescript (88)
- # community-development (33)
- # core-async (7)
- # cursive (19)
- # datomic (98)
- # duct (3)
- # events (1)
- # figwheel-main (10)
- # fulcro (62)
- # leiningen (23)
- # luminus (18)
- # off-topic (19)
- # pedestal (6)
- # re-frame (46)
- # reagent (21)
- # ring (17)
- # ring-swagger (3)
- # shadow-cljs (94)
- # slack-help (9)
- # spacemacs (14)
- # sql (1)
- # testing (4)
- # tools-deps (14)
Hi, I'm new to spacemacs. After switching to my repl with ' s s
. How can I make it go away without killing it?
what do you mean? you mean window to disappear? SPC w d
you mean jump back to the clj buffer? , s s
you want to “bury” buffer but keep the window split? M-x bury-buffer
or because you pressed , s s
, it created a split window and put cursor into repl buffer you simply want to restore your previous window config? Then you can do SPC w u
@U0G75ARHC Yeah I wanted it to go away but not close my repl. SPC b d
was what I was using and it wanted to close it. SPC w d
is what I needed. Thank you
If I can suggest - watch “Spacemacs ABC” on youtube. It’s old but it’ll give you an idea about how Spacemacs features are structured.
You could also do SPC w u
to undo the last window operation (i.e. opening the REPL buffer).
Unless you are doing side effect code (e.g. println
) I suggest evaluating code directly in the editor using , e f
to evaluate the outer most expression you are in, or , e e
to evaluate the expression before the cursor. I rarely use the REPL buffer directly, especially as I learnt how to debug simply with , d b
.
Note, if you are not using Vim normal state, then replace the ,
with M-RET
in the keybindings above.
Thanks for the tips. Yeah I'm using Vim but I'm aware of the emacs keybindings too. It's all quite overwhelming but I'll get there. Ill definitely take a look at that video @U0G75ARHC, I'll need it haha.
My pleasure @U3XCG2GBZ and welcome to the dark side, haha. Yes, Emacs can be quite overwhelming - just be patient. Even when things feel incredibly frustrating know this: “that frustration probably fixable and if you’re persistent - at some point you’ll find a way to fix it”. Don’t be shy asking questions - no matter how crazy your ideas may sound. I hope soon you will learn that even craziest of ideas can be done. You can address them here, in Spacemacs Gitter channel, r/emacs subreddit, in emacs.stackexchange - Emacsen are always nice and eager to help. Good luck
The point of me telling you to watch that video is not to learn all the keybindings - there are literally over thousand of those. No, I just want you to know what’s available there.
Dw that makes sense. 🙂 thanks
@U3XCG2GBZ I'm also working on a book for Clojure development with Spacemacs, detailing the most common approaches and useful tools and commands as I discover them https://practicalli.github.io/spacemacs/
@U05254DQM Ah yeah, I've actually stumbled across that a few times already through google. It's been really helpful.
Thanks for the feedback on the book. I updated a few of the other pages on installing too while I was updating the org layer name.