Voodoo programming is when we write code that we don’t really understand. We know we shouldn’t do it. But how do we stop?
Don’t start over. Edit the register visually.
Write a recursive Vim macro with
qqq to clear the
qq to start recording the macro,
doing your work,
invoking the macro recursively with
stop recording the macro with
and then invoking the macro with