Open nenadalm opened 7 years ago
Not sure if this helps, but there is already c!!
which replaces a form with it's evaluated result.
@styts thanks, but I would like to copy that result and paste it (without replacing).
This is something I'd love to have as well.
Is copying the result out of the :Last
buffer good enough?
Hi. What I thought about doing is to write some function (e.g. "do-something"), do some implementation, write test:
evaluate call using
cpp
and if the result is ok, then paste it into the test so after paste it would look like:I am not very expirienced with vim, but I come up with this so far:
so now I can evaluate form with
\w
and paste the result with\e
. Is there a way to overwritecpp
so it would paste the result into some registry or something?maybe this could even be in the plugin? (or doc as tip?)