/ Published in: Bash
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
# Replaces every occurrence of the word foo with bar in the whole file. :%s/foo/bar/g