vim全局替换 mrjeye · 2011-12-08 14:58 · linux · 非技术 · Markdown :1,$s/old/new/g 1:起始行 $结束行 s:表示执行替换操作 /old:原始字符串 /new:替换字符串 /g:表示全局替换