hawkeye
hawkeye

Reputation: 35732

Shortcut to evaluate an expression on the REPL in Cursive Clojure?

I want to be able to send the current expression to the REPL for evaluation in Cursive Clojure. I can do this in emacs. Does anybody know what the keyboard shortcut for doing this in Cursive Clojure is?

I'm looking for the Cursive Clojure equivalent of C-M-x

Edit: In this Tim Baldridge video (at 2.47) you can see he has evaluates expressions in the repl using a keybinding.

Evaluating expressions in Cursive Clojure using keybindings

Upvotes: 7

Views: 6077

Answers (3)

Marc Dzaebel
Marc Dzaebel

Reputation: 435

<Alt-Shift-P> (Send the surrounding expression to REPL) with Cursive 1.9.0. As mentioned, under Tools/REPL

Upvotes: 1

DanLebrero
DanLebrero

Reputation: 8593

Open File --> Settings --> Keymap

Click on the "Collapse all" to be able to find the options easily

Then go to Main Menu --> Tools --> REPL

You will have there all the actions for the REPL. The specific one that you are asking for is "Run top form in REPL"

Upvotes: 8

Mark Karpov
Mark Karpov

Reputation: 7599

According to the official site:

Key bindings

Currently Cursive is distributed without any shortcuts assigned to its actions - it’s too difficult to avoid conflicts with existing actions on all platforms. We’ll be suggesting some possible keybindings for various features of Cursive as we discuss them. When we talk about Mac keybindings we refer to the Mac OS X 10.5+ keymap, which is what we use - not the old Mac OS X one.

Assign your shortcuts yourself, here is how. See section keymaps.

Upvotes: 6

Related Questions