This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-06-23
Channels
- # announcements (3)
- # aws (1)
- # beginners (44)
- # biff (6)
- # calva (31)
- # cider (26)
- # clerk (12)
- # clj-kondo (9)
- # clojure (17)
- # clojure-dev (18)
- # clojure-europe (13)
- # clojure-norway (45)
- # clojure-uk (4)
- # clojurescript (34)
- # datomic (54)
- # dev-tooling (14)
- # emacs (19)
- # events (7)
- # honeysql (2)
- # hyperfiddle (51)
- # lsp (34)
- # malli (24)
- # matrix (1)
- # missionary (5)
- # off-topic (27)
- # re-frame (6)
- # reagent (18)
- # releases (2)
- # sci (6)
- # shadow-cljs (88)
- # vim (9)
Any vim-fireplace user know how to eval a form but skip displaying it in the pager (which may take a long time)? After that I would run :Last
to see it in the preview window.
I don't know of any way to do that from fireplace. Might be a good feature request?
But when I've had a similar need, I just capture the form in a future
and check on it later.
You can hit Ctrl+d to push your long-running evaluation into background and continue editing.
Great suggestions—thanks. I didn’t know about ctrl-d and have been mashing ctrl-c and q (for the pager) in frustration. I will try these.
hm Ctrl-d doesn’t seem to be doing the trick—it’s not the evaluation that’s taking a long time, it’s the dumping of the value to the screen.
I guess I would evaluate (do (form) nil)
instead of (form)
, or (def result (form))
to examine it later
ok. I was looking for a way to get result
into :Last
or another buffer. I’ll update this thread if I figure something out