vim-fireplace
vim-fireplace copied to clipboard
Add a way to expand macros in the buffer
I'd love to have a way to expand macros in the buffer, just like c! does with code evaluation. I have no idea of a good mapping though.
Do you have a particular use case? I actually found c! to be less useful than I expected.
Do you have a particular use case?
I'm preparing a live coding presentation :)
I actually found c! to be less useful than I expected.
Maybe inserting the result of the evaluation as a comment would be better?
Maybe, but that also raises the question of where to put the comment.
Presentation is an interesting use case. I'll keep it in mind.
This is what I have been using: https://github.com/Deraen/dotfiles/blob/d1becc7e0ae2161de1efefaebb6616244efb050e/.vim/after/plugin/fireplace.vim

I found that during presentations I most often just evaluate outermost forms and in that case it's logical to add comment on a new line after the form.