2014年6月9日 星期一

[VIM] How to delete ^M at vim

Type :%s/
press CTRL-V CTRL-M

type //g
press Enter
So the overall command in Vim shoud look like :%s/^M//g

Reference:
[1]: How to convert the ^M linebreak to ‘normal’ linebreak in a file opened in vim?

0 意見:

張貼留言