Use vim to replace invisible ^M characters
:%s/<Ctrl+v><Ctrl+m>/<Ctrl+v><Enter>/g
which looks like the following when you type it, but it does work
:%s/^M/^M/g
Written by katy lavallee
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Vim
Authors
Related Tags
#vim
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#