Fork me on GitHub
James Amberger16:02:29

Hello. Question, is it good that cqcleaves you in input mode? Is there a way to change that?

Noah Bogart16:02:41

what do you have cqc bound to?

James Amberger17:02:21

default vim-fireplace binding, opens command editor


What else would you be doing with it?


If you just want to evaluate the form at the cursor, use cpp

James Amberger17:02:12

I’ve never used the command-line window in other editing contexts, but so far (I am brand new to Clojure and therefore Fireplace) usually the first thing I am doing is k to a previous command.

James Amberger17:02:47

but first I have to exit insert mode; I guess I’m surprised that q: leaves you in normal but cqc doesnt.

Ngoc Khuat17:02:16

I tried both vim-fireplace and conjure when i first start learning about clojure. The default key binding in conjure makes more sense to me though:

James Amberger17:02:46

Only for neovim?


@james.amberger Again, I think that's because most of the time you'd use cpp. I truly have never used cqc with fireplace. What are you trying to achieve? It looks like you could easily create a new mapping: > cqc                    Bring up a command-line-window for code to >                        eval/print. Equivalent to cqp<C-F>i.


You'd just map your desired key sequence to cqp<C-F> and leave off that i that's mapped in cqc. I hope that makes some sense...

James Amberger17:02:56

I’m using cqc to call a function after I cpp its definition

💡 1
James Amberger17:02:25

among other things. Still feeling my way around ofc

James Amberger21:02:58

my bad , i just didn’’ see cqq