vim 全局替换

:%s/OLD/NEW/g

例:将文件中yes全部替换成no

:%s/yes/no/g
原文地址:https://www.cnblogs.com/taihao/p/14182892.html