Once a time, I edit a file with vim and save, but a lot of ^M characters was inserted.
To remove ^M characters with vim, I found this solution:
:e ++ff=dos
:set ff=unix
:wq
Once a time, I edit a file with vim and save, but a lot of ^M characters was inserted.
To remove ^M characters with vim, I found this solution:
:e ++ff=dos
:set ff=unix
:wq