How can I delete all user-defined commands where names share a common prefix (e.g. XYZSomeCmd
, XYZAnotherCmd
, ...)?
Found myself with a lot of dead commands while writing a plugin and changing prefix for commands. Wonder how to clean up without restarting Vim?