If for some crazy reason you’re not already a user of Vim, shutdown your computer and go think about your life choices. Joking aside, Vim is really a great editor. And if you didn’t know – Vim supports macros….
Source: https://jovicailic.org/2018/06/recursive-macros-in-vim/