The ability to define multiline replacements with :def would make it a lot more useful. For example, if you want to make a file that lets people configure your pack by defining functions, having a definition that inserts a few lines to set up the function. Something like this:
The ability to define multiline replacements with
:def
would make it a lot more useful. For example, if you want to make a file that lets people configure your pack by defining functions, having a definition that inserts a few lines to set up the function. Something like this:Replacement should still work as single-line replacements do, replacing any occurrence of the replacement name (in this case
MAKE_VARS
).