%s/\%ua0// 参考文献: substitute - Replace nbsp with none string in utf-8 encoding in vim - Vi and Vim Stack Exchange How to replace string with register content? - Vi and Vim Stack Exchange