Fork me on GitHub
#conjure
<
2023-03-24
>
Aziz Aldawood07:03:07

how can i do this with aniseed and conjure?

function! ClerkShow()
exe "w"
exe "ConjureEval (nextjournal.clerk/show! \"" . expand("%:p") . "\")"
endfunction

nmap <silent> <localleader>cs :execute ClerkShow()<CR>

Martynas Maciulevičius10:03:04

This is how I did it: https://github.com/Invertisment/conjure-clj-additions-cider-nrepl-mw/blob/master/fnl/conjure-clj-additions-nrepl/additional-fns.fnl#L35 But you'll also need to find the place it's being bound to a function like your ClerkShow. This is done separately.

🙏 2
Aziz Aldawood12:03:46

this worked (util.lnnoremap :cs "ConjureEval (nextjournal.clerk/show! (str *file*))")