vim 替换

将s1全部替换为s2

:%s/s1/s2/g

删除s1

:%s/s1//g
原文地址:https://www.cnblogs.com/smallredness/p/11196434.html