So you are using Neovim but being able to do something as simple as find and replace across your project seems baffling. I'll show you how I do it. It is quick and efficient, especially if you have Telescope.
Here is what I use: `cfdo %s/stringOne/stringTwo/g | update | bd`
There is also a great gist with further clarification on differences between ‘cdo’ and ‘cfdo’ here: https://gist.github.com/Integralist/8d01300efcd2006c69e8b9492c0eada8 (in reference to my example you need the % symbol with cfdo so it goes over the whole file)
Here are my Neovim config files: https://gist.github.com/benfrain/97f2b91087121b2d4ba0dcc4202d252f0:00 Introduction
0:36 Once at normal speed (short version)
1:09 Command about to be run
1:50 Explaining what is actually being done
1:56 First, find the strings
2:33 Send the instances to the Quickfix list
3:30 Iterate on the instances with `cfdo`
4:20 The command piping into update and bd
6:00 Conclusion, like, subscribe (please!)
24 Comments