This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-03-06
Channels
- # aleph (2)
- # arachne (4)
- # aws (3)
- # beginners (196)
- # cider (131)
- # cljs-dev (208)
- # clojure (193)
- # clojure-boston (1)
- # clojure-dev (26)
- # clojure-greece (4)
- # clojure-italy (26)
- # clojure-losangeles (1)
- # clojure-russia (11)
- # clojure-spec (40)
- # clojure-uk (78)
- # clojurescript (168)
- # cursive (25)
- # datascript (1)
- # datomic (31)
- # docker (8)
- # docs (1)
- # emacs (20)
- # fulcro (62)
- # hoplon (3)
- # jobs (1)
- # leiningen (3)
- # luminus (1)
- # nrepl (25)
- # off-topic (10)
- # other-languages (3)
- # parinfer (11)
- # planck (37)
- # portkey (54)
- # protorepl (11)
- # re-frame (2)
- # reagent (19)
- # remote-jobs (1)
- # ring (2)
- # rum (8)
- # shadow-cljs (23)
- # spacemacs (4)
- # uncomplicate (6)
- # unrepl (77)
- # vim (56)
- # yada (2)
This is another point in favor of finding a way to break unrepl in some pieces that can be reused in user code.
well, if you get :phase :read
you can report to the user that his/her input is malformed
if you get :phase :print
you can report that something fishy happeneed and that the dev team has been alerted 🙂
@dominicm You asked for code to follow. I also pushed now to the dark side for non-mercurials: https://github.com/kotarak/vimpire
No, for sure. I'm just curious of both: 1) What was VimClojure like? (I've only ever used fireplace!) 2) How does this feel in practice. I suspect that it's going to feel really different to what I've become used to.
I provides some hooks, which you may define as you like. For keyword lookup, code eval, etc.
OT: Do you happen to know, how these gifs are made, which one can often find in the READMEs of a lot of plugins?
screenkey (linux) is quite popular, or screenflick which it apparently copies. (mac)
In the beginning you couldn't eval a function with a comment. Because it put everything on one line.
It doesn't do that anymore 🙂. That's for certain. It has quirks though. But that's "legacy" from nREPL days.
Here is a short demo: https://kotka.de/vimpire/Small_vimpire_demo.webm
Well, except for the future and (read) this is VimClojure's funtionality from five years ago....
My only ask is that you provide an operator for evaluating a text object, because I use vim-sexp and I like doing things like cpaF
The repl buffer was there from the beginning. With the limitation, that you could not read from stdin.
From fireplace's README: "You know that one plugin that provides a REPL in a split window and works absolutely flawlessly, never breaking just because you did something innocuous like backspace through part of the prompt? No? Such a shame, you really would have liked it."
Regarding your question: So you want an operator which takes some text object/motion(?) for eval?
@kotarak I do weird things like oh, what's the value of XYZ
and evaluate the symbol under my cursor.
It works in 2 situations, 1: constants referenced, 2: when I have https://github.com/gfredericks/debug-repl on, which lets me "pause" inside a function.
In some ways, I just like the idea of vimpire separating operation from object though. It's a bit of a purists view though.
There's now also https://github.com/vvvvalvalval/scope-capture which is a bit simpler.