/ Published in: Bash
![](/img/icon_sav.png?v3)
Howto search and replace in vim when editing a file.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
# Replaces every occurrence of the word foo with bar in the whole file. :%s/foo/bar/g
Comments
![RSS Feed for Comments RSS Icon](/images/rss.png?v3)