I know how to remove ^M in my files (%s/^M//g), but this one is just one line I\'d like to replace ^M with enter... what\'s the enter char
^M
%s/^M//g
You can replace one character using r in normal mode. Or you can enter a "return" in command line mode by typing .
r