How to Convert DOS Line Breaks to UNIX in VIM
erics, September 29th, 2009
1 |
To convert DOS line breaks (^M) to UNIX in VIM: |
1 2 3 4 5 |
:%s/^M/\r/g -OR- :set fileformat=unix |