vim: Replace literal \n with new line

17 Jun 2015 in TIL

Open the file that contains the \n's.

Run the following command:

:%s/\n/r/g

All done