:let @a=substitute(@a, '~', 'vU', 'g') 上面將宏中的 ~ 替換為 vU ,且使用g指定為全局替換 :put a 可以將宏的內(nèi)容復(fù)制到當(dāng)前光標(biāo)行的下一行