You can find out which format (unix or dos) you have by typing :set
Display CRLF as ^M:
:e ++ff=unix
Substitute CRLF for LF:
:setlocal ff=unix
:w
:e
You can find out which format (unix or dos) you have by typing :set
Display CRLF as ^M:
:e ++ff=unix
Substitute CRLF for LF:
:setlocal ff=unix
:w
:e