Possible Duplicate:
How to edit a file in Vim with all lines ending in ^M except the last line ending in ^M^J
i have html file .. one line file .. Has been replaced new line to ^M
But it works well with notepad++
How i can Reformed in vim ?
thanks
:e ++ff=mac
^J = <LF> = \n
^M = <CR> = \r
If the only line separators in your file are \r
, it uses Mac-style line endings.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With