vim

For discussion on all things (neo)vim.
2020-07-06T13:51:53.371100Z

Hello, vim fireplace users - how do you toggle between cljs and clj repl when evaluating in a cljc file ? (cljs repl is chosen by default if initialised) I came across this post https://github.com/tpope/vim-fireplace/issues/289 but I don't know how to set up a toggle using the variable provided.

Olical 2020-07-06T14:01:16.372300Z

In Conjure I have mappings to hop between sessions that could be used to do this. Does fireplace have session switching? Might be worth digging into as a solution!

👍 1
2020-07-06T15:07:16.372900Z

I believe in a cljc file you can by setting this variable b:fireplace_clc_platform I am assuming something in vim like :let b:fireplace_clc_platform = "repl type" I am not familiar with vim script so no luck yet . Hoping someone has used the above variable .

Olical 2020-07-06T15:37:10.373100Z

That vim script looks okay to me, for what it's worth!