How can I replace a word all the files within a folder in Vim?

Posted by janoChen on Stack Overflow See other posts from Stack Overflow or by janoChen
Published on 2010-04-17T07:19:14Z Indexed on 2010/04/17 7:23 UTC
Read the original article Hit count: 172

Filed under:

I know that by typing the following: :%s/iwanthis/replacedbythis/g will change all the matching words of the file. How can I do the same for all the files within a folder?

(actually replacing a lot of words like this: padding-bottom:5px;)

© Stack Overflow or respective owner

Related posts about vim