VIM文本替换命令

在VIM中进行文本替换:     1.  替换当前行中的内容:    :s/from/to/    (s即substitude)         :s/from/to/     :  将当前行中的第一个from,替换成to。若是当前行含有多个                             from,则只会替换其中的第一个。         :s/from/to/g    :  将当前行中
相关文章
相关标签/搜索