vim: Replace literal \n with new line

Open the file that contains the \n‘s.

Run the following command:

:%s/\n/r/g

All done


  • ← curl: (35) error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca
  • Check if SSL certificate is SHA1 or SHA2 →

Published:
June 17, 2015

Category
TIL
Topics
#vim
Michael Heap
BlogTalksTIL
Get The Book