Virtual Vocaloid Manager
Short Stories, Programming, Linux
Saturday, January 19, 2013
remove weird symbols in vim (刪除奇怪字元)
From
http://deepupc.wordpress.com/2009/10/28/removing-special-charactersmca-in-vi/
to remove character such as
^M, ^K,...
In vi, do a :%s/^M//g
To get the ^M hold the control key, press V then M (Both while holding the control key) and the ^M will appear. This will find all occurances and replace them with nothing.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment