VIM文本替換命令

在VIM中進行文本替換:     1.  替換當前行中的內容:    :s/from/to/    (s即substitude)         :s/from/to/     :  將當前行中的第一個from,替換成to。若是當前行含有多個                             from,則只會替換其中的第一個。         :s/from/to/g    :  將當前行中
相關文章
相關標籤/搜索