Markus Löning

Software Engineering & Machine Learning

Search and replace in multiple files using vim

Posted at Dec 24, 2024 09:35:15 — Last modified at Dec 24, 2024 12:26:59

I’m using Neovim with AstroNvim, and the key maps below will be different depending on your setup.

To find and replace a string in multiple files in vim, you can use this workflow:

To open the quickfix list, type <leader>xq.

Also check out these blog posts: