Search and Replace in vim

vim

:%s/find/replace/g

The % tells vim to search the entire buffer and g allows for multiple replacements.

Comments powered by Disqus

Copyright 2010. All Rights Reserved.