SyntaxFix
Write A Post
Hire A Developer
Questions
:%s/\n/*\r/g
Your first one is correct anywhere else, but Vim has to have different newline handling for some reason.