/ Published in: Bash
Howto search and replace in vim when editing a file.
Expand |
Embed | Plain Text
# Replaces every occurrence of the word foo with bar in the whole file. :%s/foo/bar/g
You need to login to post a comment.
