Batch rename files in your editor with vidir

I have always used the built in tool :bulkrename in my file manager Ranger to batch rename files and directories. Unfortunately, that feature has been broken for ages now, and I haven’t had much success in finding an alternative that I like and is available in the repositories.