conjure

:neovim:+:clj: https://github.com/Olical/conjure - If you're enjoying Conjure and want to say thanks: https://github.com/users/Olical/sponsorship :smile: (alt https://conjure.fun/discord)
Olical 2020-08-24T12:40:20.007400Z

Little trick I just found (in my own thing, hah): let g:conjure#relative_file_root = "./" Now I just :cd ... into which ever repo or module I'm working in that contains a .nrepl-port file and hit ,cf then I can ,ef even though I'm working with something in a docker container.

πŸ‘ 1
Olical 2020-08-24T12:40:52.008100Z

Basically I didn't expect ./ to work as a sort of "resolve all file paths relative to my current directory" like this. Was a pleasant surprise!

Olical 2020-08-24T12:41:27.008600Z

As soon as I get that feature in where it auto connects on eval without a connection it should be even better.

dharrigan 2020-08-24T16:33:19.009300Z

You should that into a hints and tips section on the website πŸ™‚

πŸ‘ 1
πŸ‘€ 1
dharrigan 2020-08-24T16:33:50.009600Z

but, looking forward to the auto connect πŸ™‚

practicalli-john 2020-08-24T17:27:23.014Z

Where can I get help with Neovim and vim-plug? I have used the following steps to try and install conjure but it seems that the plugin has not downloaded. I am unsure which directory the plugins are supposed to install to, so it maybe I missed that. https://gist.github.com/jr0cket/6c475137ee57fbb14f9289bd76889512 This is my first time using neovim and vim-plug, so assume I know nothing (except how to quit vim). I've also run the interactive :ConjureSchool tutorial using the curl -fL <http://conjure.fun/school|conjure.fun/school> | sh command. It launches okay and I can evaluate (school.lesson-1) using the key binding , e b. The buffer says my <localleader> wasnt configured, so it was set to , by default. :help conjure-mappings displays an error: E149: Sorry, no help for conjure-mappings So I am guessing something is broken or missing with my neovim and/or vim-plug config but its not clear where to start debugging this.

Olical 2020-08-24T17:53:41.014300Z

Hello!

Olical 2020-08-24T17:53:51.014500Z

wrt vim-plug, are you running :PlugInstall?

Olical 2020-08-24T17:54:50.014800Z

And wrt the mappings, I guess you don't have a localleader set right now? I tried to make it set a default for you (,) but maybe that's not working :thinking_face: I don't think I've had any feedback from others relying on it yet. So it could be wrong!

Olical 2020-08-24T17:57:18.015100Z

Hmm, testing the school without a leader (`-u NONE`) and it sets it to comma for me.

Olical 2020-08-24T18:12:48.015300Z

But yeah, vim-plug does nothing stateful until you tell it to. So the config is more instructions than anything, like a deps.edn. :PlugInstall and the other :Plug* commands are what actually download / update / clean your plugins out

Olical 2020-08-24T18:13:01.015500Z

Then when you restart neovim it'll load up whatever plugins vim-plug has placed on the path.

Olical 2020-08-24T18:13:10.015700Z

(including conjure I hope!)

practicalli-john 2020-08-24T18:20:39.016Z

I totally missed :PlugInstall so its no wonder nothing was working πŸ™‚ More things are happening now I have run it.

practicalli-john 2020-08-24T18:24:05.016200Z

conjure (or at least jack-in) seems to be working as its just found a bug in my ~/.clojure/deps.edn file (its a real bug too). Things are looking very promising.

Olical 2020-08-24T18:25:13.016400Z

Yay! Glad to hear it!

Olical 2020-08-24T18:25:22.016600Z

I presume this is for a guide of some sort?

Olical 2020-08-24T18:25:43.016800Z

Exciting to see you in Conjure land, even if it's for a little delve for information ☺️

practicalli-john 2020-08-24T18:31:02.017Z

REPL server started on port... it works. Now I have to learn how to use Conjure πŸ™‚ I'd like to add a specific vim based guide to the Clojure tools section of Practicalli Clojure and Conjure seems to be the best approach.

practicalli-john 2020-08-24T18:32:23.017200Z

I may be asking more questions in the very near future. I see there is a lot of useful info on the github repo and on discord. Just want to create an essentials guide (or link to one) so people can get going quickly

Olical 2020-08-24T18:34:07.017400Z

That's so good! Thank you so very much! I appreciate every guide/post/doc massively

Olical 2020-08-24T18:34:18.017600Z

I'll be more than happy to help out wherever possible

dharrigan 2020-08-24T18:37:29.017800Z

Good to see neovim + conjure on Practicalli πŸ™‚

practicalli-john 2020-08-24T18:41:10.018Z

I still have a lot to learn about conjure and neovim. There are a lot of tools I regularly use that I would like to have before being comfortable using Neovim, so more plugins seem to be in my future (as well as a nice theme) and learning how to split windows / switch buffers...