- Create macro (let's say we're saving it to 'x')
- View macros in registry
:reg x
- Copy content of macro
"xp
- Store macro to file (file must be loaded by vim on startup. See here
Use "[register letter]p
to paste into a file with the format below
let @x = "<macro contents>"
- Use
find
to generate a list of files that need to be updated iefind . -type f -name "*.yaml"