First we want to open a bunch of files based on some pattern,
vim $(grep -Rl 'commentCount' *)
Then we want to a find & replace across all buffers,
bufdo %s/commentCount/comment-count/ | update
First we want to open a bunch of files based on some pattern,
vim $(grep -Rl 'commentCount' *)
Then we want to a find & replace across all buffers,
bufdo %s/commentCount/comment-count/ | update