Fork me on GitHub
#conjure
<
2020-07-07
>
chase-lambert15:07:31

So K gives me the docs for a function, is there an equivalent command to get source? If I try (source foo) (or even (doc foo) ) I get unable to resolve symbol errors.

chase-lambert15:07:07

My apologies if this is unrelated to Conjure but is a repl thing. If so, how do I make sure I always have doc and source available in my repl instances?

fortino64516:07:51

you can use gd if k works gd should work to

chase-lambert17:07:23

Ahh! Thank you, that's awesome

nate18:07:02

Also ,vs will view source, usually works

chase-lambert18:07:48

Ahh, again with a great ,v shortcut. I appreciate it. I don't think the latest Conjure doc file includes these <localleader> v shortcuts.

nate18:07:07

I found it, it's there, but a little buried

nate18:07:22

you can do :help conjure and look for nrepl and go to that help file

nate18:07:31

or do :help conjure-client-clojure-nrepl to get to the nrepl specific stuff directly

nate18:07:40

the latter includes the bindings

nate18:07:22

including another super useful and rarely used one: ,ei for interrupting a long execution

olical20:07:13

Yeah, the mappings are split between :help conjure and conjure-client-clojure-nrepl

olical20:07:34

You can use helpgrep to search ALL help files for things you're interested in which might help you find stuff in the future 🙂

olical20:07:52

Good thread sharing tools, everyone! 😄

chase-lambert00:07:54

Ok, yeah there is a big ole set of shortcuts in these nrepl docs. Nice

dominicm17:07:57

@chase-lambert you need to fully qualify doc OR use something like dot-slash-2 to make a shortcut.