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 character in VIM (to use in commnad-line mode).
I know how to remove ^M in my files ( %s/^M//g ), but this
Share
You can replace one character using
r<CR>in normal mode.Or you can enter a “return” in command line mode by typing
<C-v><CR>.