摘要: Basic search and replaceEditThe :substitute command searches for a text pattern, and replaces it with a text string. There are many options, but these are what you probably want::%s/foo/bar/gFind each occurrence of 'foo', and replace it with 'bar'.:%s/foo/bar/gcChange each 'foo&# 阅读全文