Hey there!

To answer your first question, I keep this sort of configuration in my
~/.lein/profiles.clj. That file looks like this right now:

{:user {:ultra {:repl true}
        :plugins [[venantius/ultra "0.5.1"]
                  [lein-pprint "1.1.2"]]}}

To answer your second question -- the printer configuration sits as a
dynamic var over in whidbey.repl/printer. There's a convenience function
you can access directly -- whidbey.repl/update-options! that will call
`alter-var-root` on the configuration for you. So your standard usage would
be something like [untested]:

 (whidbey.repl/update-options! (assoc whidbey.repl/printer :your-new-key
your-new-val))

Personally, if I run into something like that I usually just restart my
repl, but hopefully the above is helpful.

Cheers,

 ~ V

On Tue, Jan 10, 2017 at 9:37 PM, Mars0i <marsh...@logical.net> wrote:

> One more question--should have included it before.  Is there a way to
> change the print width apart from in profile.clj or project.clj, e.g. with
> a function in the repl.  That way I resize the terminal to see more on each
> line, I wouldn't have to exit out and change the width.  Thanks-
>
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with
> your first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "Clojure" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/to
> pic/clojure/OjRe5WXaXBE/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
> --
> 203.918.2328
>
>
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to