Fork me on GitHub
#cursive
<
2018-06-20
>
lispyclouds01:06:10

@cfleming thanks a lot! 😃

gfredericks14:06:00

how possible is it to customize cursive such that a particular keybinding sends a particular expression to the clojure repl? extra useful if it could include the current filename

onetom14:06:41

@gfredericks you can create "REPL commands" and then those could be bound to shortcuts via the regular Keymap preference, IIRC

gfredericks14:06:52

Cool I'll check that out, thanks

onetom14:06:34

Menu: Tools / REPL / Add new REPL command

onetom14:06:03

yup, indeed if I create such a command it appears under Tools / REPL / Commands and hence you can find it in the Keymap preference too

gfredericks14:06:58

looks like it doesn't have a mechanism for communicating what file was focused at the time?

gfredericks14:06:08

maybe repl commands have a bunch of magical unquoteable locals?

gfredericks14:06:02

the cursive repl guide doesn't mention such a thing

cfleming19:06:49

@gfredericks It’s not in the guide yet, but there is a list of new substitutions in the release email here: https://groups.google.com/d/topic/cursive/0GzV5h2C4ig/discussion

gfredericks19:06:50

@cfleming peeeeeeeerfectamundo thanks