Skip to content

Instantly share code, notes, and snippets.

@ngzhian
Created February 13, 2017 07:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ngzhian/553296fb5c606a8156917385bc0ad626 to your computer and use it in GitHub Desktop.
Save ngzhian/553296fb5c606a8156917385bc0ad626 to your computer and use it in GitHub Desktop.
Convert ^M to new lines
:%s/<Ctrl-V><Ctrl-M>/\r/g
http://stackoverflow.com/questions/811193/how-to-convert-the-m-linebreak-to-normal-linebreak-in-a-file-opened-in-vim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment