Friday, February 14, 2014

Convert line endings from dos to unix in vim

To convert line endings from dos to unix in vim open your file, then:-

:update
:e ++ff=dos
:setlocal ff=unix
:wq


No comments:

Post a Comment