Hacker News new | ask | show | jobs
by camgunz 775 days ago
Vim has substitution:

%s/thingamabob/doodad/g

You can put regexes in there, so for 99% of cases you're fine. In neovim (but not in vim) this will also show you a "multicaret" UI.

This is also just one mode of sed, so if you need to do this across multiple files you can just run sed.