vim 全局替换

:%s/OLD/NEW/g

例:将文件中yes全部替换成no

:%s/yes/no/g

 

posted @ 2020-12-24 10:23  玄澈  阅读(291)  评论(0编辑  收藏  举报