-
Notifications
You must be signed in to change notification settings - Fork 60
Open
Description
For example, I have a form
(+ 1 2)After evaluation, I want it to become:
3How do I achieve it with slimv?
I have a working prototype at https://github.com/poga/slimv. It exposes two new function SlimvEvalDefunAndReplace and SlimvEvalDefunAndReplace.
It kinda worked. However there's some limit to it (mostly because I'm completely new to vimscript):
- It has a delay between evaluation complete and replacing the form
- If I do anything while waiting for the replacement, it usually breaks.
- It pollutes register
r. I'm not using the register anyway but it's definitely not ideal.
My question is: Is there a better way to do this? I'm willing to contribute if you're fine with this feature. Any guidance is appreciated 😄
Metadata
Metadata
Assignees
Labels
No labels