统计个数 :%s/xxx//gn 黏贴时不换行 :set paste 不换行显示 :set nowrap 查找替换 :%s/xxx/yyy/g :%s/xxx/yyy/gc 去掉自动换行 set nowrap