vim
bachelorchen
这个作者很懒,什么都没留下…
展开
-
How to replace a character for a newline in Vim?
down votefavI'm trying to replace each , in the current file by a new line::%s/,/\n/g But it inserts what looks like a ^@ instead of an actual newline. The file is not in DOS转载 2015-02-11 18:41:57 · 396 阅读 · 0 评论 -
What does ^M character mean in Vim?
Unix uses 0xA for a newline character. Windows uses a combination of two characters: 0xD 0xA. 0xD is the carriage return character. ^M happens to be the way vim displays 0xD.You can remove all t转载 2015-02-11 16:26:27 · 316 阅读 · 0 评论