Looks like Laurent is one ahead of me :-). Cursive can't do this right now, although it's a much-requested feature with an issue in the tracker. I'll try to add this soon. In the meantime, you can use the Search REPL History action which narrows down on typing - not ideal, but it should work for now. You can invoke that from any context, you don't have to be in the REPL editor, and you can use Shift-Enter to execute immediately rather than copying to the REPL editor and focusing it.
Cheers, Colin On 2 December 2014 at 11:47, Laurent PETIT <[email protected]> wrote: > FWIW, please note that it's now possible to script Counterclockwise in > such a way. > > The following link shows how to add a new keybinding for calling > (user/reset) on the active REPL : > https://github.com/laurentpetit/ccw-plugin-repl#repl-keybindingsclj > > (Requires a Counterclockwise built from the master branch, e.g. > http://updatesite.ccw-ide.org/branch/master/CI0176-master-gitf1930d7/ ) > > Was just working on it this week-end, thus the high-jack of the thread ;-) > > -- > Laurent > > > 2014-12-01 17:14 GMT+01:00 Dylan Butman <[email protected]>: > >> I've been playing around with Cursive lately (it seems awesome if I can >> ever get comfortable with the keybindings!). I emacs/cider, I have a custom >> keybinding that injects user/reset to trigger something like >> https://github.com/stuartsierra/reloaded/blob/master/src/leiningen/new/reloaded/templates/user.clj#L48. >> Is there a way to do this in cursive? >> >> -- >> You received this message because you are subscribed to the Google >> Groups "Clojure" group. >> To post to this group, send email to [email protected] >> Note that posts from new members are moderated - please be patient with >> your first post. >> To unsubscribe from this group, send email to >> [email protected] >> For more options, visit this group at >> http://groups.google.com/group/clojure?hl=en >> --- >> You received this message because you are subscribed to the Google Groups >> "Clojure" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Laurent Petit > > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to [email protected] > Note that posts from new members are moderated - please be patient with > your first post. > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en > --- > You received this message because you are subscribed to the Google Groups > "Clojure" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
