/ Published in: Other
Search and replacing all instances of some text within Vim
Expand |
Embed | Plain Text
:%s/searchterm/replaceterm/g eg. Search for the word "today" within the whole file and replace all occurrences of it with "tomorrow". :%s/today/tomorrow/g
You need to login to post a comment.
