vi 替换字符串

vi 编辑器 命令模式下

% s/str1/str2/g 

原文地址:https://www.cnblogs.com/python-xiakaibi/p/11392955.html