Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 925 Bytes

README.md

File metadata and controls

33 lines (21 loc) · 925 Bytes

TapDance

Easily tap> Clojure values in an nREPL connected Conjure.

Inspired by Sean Corfield's Calva config.

Installation

With vim-plug:

Plug 'walterl/conjure-tapdance'

Usage

Hook up the :TapForm, :TapWord and :TapV commands to the mappings of your choice:

nnoremap <silent> <Leader>jT <Cmd>TapForm<CR>
nnoremap <silent> <Leader>jt <Cmd>TapWord<CR>
vnoremap <silent> <Leader>jt :TapV<CR>
nnoremap <silent> <Leader>jte <Cmd>TapExc<CR>

Using those mappings will wrap the form or word under the cursor, selected text, or *e in a (tap> ,,,)-form, and evaluate it in Conjure's nREPL.

License

Copyright © 2022 Walter

Distributed under the MIT License.