This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-07-07
Channels
- # admin-announcements (2)
- # boot (111)
- # capetown (5)
- # cider (15)
- # clara (15)
- # cljs-dev (8)
- # clojure (78)
- # clojure-brasil (1)
- # clojure-dev (2)
- # clojure-greece (25)
- # clojure-hk (1)
- # clojure-russia (5)
- # clojure-seattle (1)
- # clojure-spec (120)
- # clojure-sweden (3)
- # clojure-uk (63)
- # clojurescript (161)
- # data-science (1)
- # datomic (21)
- # editors (43)
- # emacs (3)
- # funcool (1)
- # hoplon (72)
- # instaparse (11)
- # jobs (1)
- # off-topic (2)
- # om (212)
- # onyx (9)
- # other-languages (129)
- # proton (5)
- # re-frame (15)
- # reagent (18)
- # slack-help (4)
- # spacemacs (18)
- # untangled (224)
- # yada (21)
Any thoughts about https://github.com/kovrik/cider-diet ?
I am using use-package
and using the :bind
option to bind C-c C-o
to another function.
For some reason it’s not over riding the keybinding defined in the cider package.
The function I’m trying to bind the key to:
(defun cider-repl-clear-output-and-buffer ()
(cider-repl-clear-output t))
here is how the cider package is initialized:
(use-package cider :ensure t
:bind (("C-c C-o" . cider-repl-clear-output-and-buffer))
:init (progn
(setq nrepl-hide-special-buffers nil
cider-repl-pop-to-buffer-on-connect nil)))
@ordnungswidrig: I wrote a small task for boot yesterday and I am using it myself
Still alpha beta gamma software but it cuts down the startup time by 50+ % here
Then of course there is the time it takes for loading the first namespace you load
But at least it feels faster
The normal Clojure repl , starting in user
, is instantaneous
But again then you need to load the namespace(s) you want to work in
At the moment, my Cider REPL attempts to match {
's with }
, but doesn't behave specially with any other delimiter. The "half paredit" functionality is mostly just getting in my way since I don't have access to all the paredit commands. Is there a way to turn that off, or enable full paredit support in the REPL? The latter is more ideal.
When I type {(abc
the REPL does this which is not very useful: (`|` is my cursor)
> |
> {|}
> {(abc|}
At this point I cannot hit [RET]
and continue my expression, it will just send to the REPL and get RuntimeException Unmatched delimiter
Also, if I type {
then backspace, I get this:
> |
> {|}
> |}
Unfortunately the solution isn't as simple as M-x paredit-mode
, since if I do something weird like (println "(")
the REPL output will interfere with future input.