One example used in the test is: :echo -to-file commands 'foo bar'<ret>:execute-keys i %file{commands} <lt>esc><ret>
Are there any plugins in the current ecosystem that could benefit, be simplified, from this new pattern?
Could this new feature open new perspectives for the creation of future plugins which have been blocked by some limitations like the size of env vars in %sh{} expansion or other factors? (like a undo-tree plugin)
I consider those features experimental, I am really interested in making sure they are actually usefull to simplify existing scripts and general comunication with external tools, so please post any feedback you have on them.
For a more fool proof version, my idea is to extend echo with a way to specify how separate arguments should be joined together. Currently it joins them using spaces, but it could make sense to support quoted joining.