Linux vim替换命令

#替换每一行的第一个a
:%s/a/b/
#全部替换
:%s/a/b/g
#替换/时需要转义"/"

原文地址:https://www.cnblogs.com/wzqstudy/p/9480304.html