This question already has an answer here:
I have several files where I want to change a word in several files from oldWord to newWord.
Please note I want to do this with the new cpo feature. I also would like to do this in one command line chain, rather than one command at a time.
Should this command do it? Or is there a better way do this in VIM?
:set hidden | :vimgrep oldWord ./gulp-tasks/*.s | :cdo s/oldWord/newWord/g | :set wall ?