vim

vim永远是个梗

替换

:%s/original/new/g

%表示所有的行,g表示多次替换,没有%只会替换当前行

原文地址:https://www.cnblogs.com/lailailai/p/4515702.html